We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f2a85 commit 1cc1818Copy full SHA for 1cc1818
src/clj/cljs/repl/node.clj
@@ -105,8 +105,8 @@
105
proc (-> (ProcessBuilder. (into-array [(get opts :node-command "node")]))
106
(.redirectInput of)
107
.start)
108
- _ (do (future (pipe proc (.getInputStream proc) *out*))
109
- (future (pipe proc (.getErrorStream proc) *err*)))
+ _ (do (.start (Thread. (bound-fn [] (pipe proc (.getInputStream proc) *out*))))
+ (.start (Thread. (bound-fn [] (pipe proc (.getErrorStream proc) *err*)))))
110
env (ana/empty-env)
111
core (io/resource "cljs/core.cljs")
112
;; represent paths as vectors so we can emit JS arrays, this is to
0 commit comments