Fork me on GitHub
#clojurescript
<
2021-12-05
>
borkdude19:12:10

I'm trying to run a prepl in CLJS but I don't know what I'm doing.

(server/start-server {:accept 'cljs.core.server/io-prepl  :address "127.0.0.1"  :port 6777 :name "cljs.math-repl" :args [:repl-env ???]})
Do I need to provide something in the :repl-env? I want node

borkdude19:12:48

Got it:

(cljs.repl.node/repl-env)