Actually, sometimes the REPL doesn't even appear and ClojureScript seems to be hanging.
For example, the browser has started and the "ClojureScript - Quick Start" page is being displayed but on the command line, no REPL:
$ clj --main cljs.main --compile hello-world.core --repl
Hello world!
You may sometimes get an
Exception in thread "Thread-16" java.net.SocketException: Broken pipe (Write failed)
instead.
This happens in particular when the browser is not already running (i.e. has to be started first, which takes a bit).
I suppose there are some timeouts which are too restrictive, the REPL is not started because of the SocketException
, which is not always printed to add insult to injury. Maybe.
System:
ClojureScript 1.10.520
Clojure Version: 1.10.1.536
openjdk version "1.8.0_242"
Linux Fedora 30
Firefox 73.0.1 (64-bit)
SELinux permission looking good!
Additional Datapoint:
Currently trying the figwheel tutorial at https://figwheel.org/tutorial - there is no problem with REPL appearance so far even though the initial webpage is quite more complex.