Set port on cljs-repl
How do you set the port on the repl server?
my env is
[adzerk/boot-cljs "1.7.170-3" :scope "test"]
[adzerk/boot-cljs-repl "0.3.2" :scope "test"]
[com.cemerick/piggieback "0.2.1" :scope "test"]
[weasel "0.7.0" :scope "test"]
[org.clojure/tools.nrepl "0.2.12" :scope "test"]
tried (cljs-repl :port 9000) but doesn't seem to workas i get
nREPL server started on port 54888 on host 127.0.0.1 - nrepl://127.0.0.1:54888
is there anyway to set the host or ip to "0.0.0.0"?
First, cljs-repl :port option sets the Cljs Repl websocket server IP. This is separate to nREPL port. To change nrepl port you need to set repl task port option:
(task-options! repl {:port 1234})
repl-env is used together with cljs-repl task and the options are set using the task options.
Remote nrepl should work by setting correct repl options.
Please check Boot wiki to familiarize yourself on how Boot tasks work:
https://github.com/boot-clj/boot/wiki/Tasks https://github.com/boot-clj/boot/wiki/Task-Options-DSL (Sorry, task-options! doesn't seem to be mentioned on the wiki)
Github issues are preferably for bug reports and feature requests, for usage help e.g. Clojurians Slack is preferred: https://github.com/boot-clj/boot#boot-- (second paragraph)