       ;; FIXME: errors need to go somewhere else, this is not reliable
       (.start (Thread. (bound-fn [] (pipe proc (.getErrorStream proc) *err*))))
 
-      (assoc state :proc proc
+      (assoc state
+        :proc proc
         :in (PushbackReader. (io/reader (.getInputStream proc)))
         :out (io/writer (.getOutputStream proc)))
       )))

  (:require [clojure.java.io :as io]
            [clojure.core.async :as async :refer (<!! >!!)]
            [shadow.build.log :as cljs-log]
            [shadow.cljs.util :as util])
  (:import (java.io PushbackReader Writer InputStreamReader BufferedReader IOException)))

(def worker-file


(defn start []
  (when-not (.exists (io/file worker-file))
    (log/warnf "can't find %s, please install npm install --save-dev shadow-cljs." worker-file))

  (let [babel-in (async/chan 100)]
    {::service true
