      (boolean reload-with-state)
      }))
 
-(defn inject-devtools
+(defn inject-devtools-browser
   [{:keys [build-config] :as proc-state}]
   (let [{:keys [console-support]}
         (:devtools build-config)]

          (update :closure-defines merge (repl-defines worker-state))
          (update-in [:modules (:default-module compiler-state) :entries] prepend '[cljs.user shadow.devtools.client.node])
          ))))

(defn >!!output [worker-state msg]
  {:pre [(map? msg)

  "configure the build according to build-config in state"
  [{:keys [build-config] :as worker-state}]
  (try
    (let [compiler-state
          (-> (cljs/init-state)
              (assoc :logger (util/async-logger (-> worker-state :channels :output)))
              (comp/init :dev build-config)
