                              ["-c" (str/join ":" (concat source-paths (:classpath fileset)))]
                              opts))]
           (invalid-cache!)
-          (some-> @process .kill)
-          (reset! process
-                  (js/child_process.spawn "lumo" opts #js {:stdio "inherit"}))
+          (spawnx ::lumo "lumo" opts #js {:stdio "inherit"})
           (next-handler (assoc fileset
                                :lumo/invalid-cache! invalid-cache!
                                :lumo/repl (merge {:host "127.0.0.1" :port 5555} repl))))))))

                     (str (pr-str `(require '~@(map file->ns resources) :reload))
                          \newline)
                     (fn [err res]))))
          (let [c (new telnet)]
            (doto c
              (.on "ready" (fn [prompt]
                             (reset! conn c)

            [cljs.analyzer.api :as analy]
            [npm.mvn :as mvn]))

(def Telnet (js/require "telnet-client"))

(def PACKAGE
  (if (js/fs.existsSync (str js/process.env.PWD "/package.json"))
