Open filipesilva opened 5 years ago
I have the same issue when trying to jack-into a running shadow-cljs watch
on macOS.
shadow-cljs@2.8.83
Just fyi, It seems to be working for me again now. Thanks!
@dcusan odd, in my case nothing changed...
Seems we need to look at the various shadow-cljs jack-in scenarios a bit. Sorry for late response.
Shadow-cljs allows having a background server running via
shadow-cljs start
. This speeds up individual shadow cljs invocations significantly and is useful for doing different builds or running commands viashadow-cljs run
.If I jack in when there is no background server, it all goes smoothly and a terminal shows the following:
But I I start a server beforehand, the output pane stays stuck on
Jacking in...
and never proceeds:I thought this might be because now the terminal log doesn't have the nREPL info and maybe that tripped up the calva connect sequence for shadow-cljs. But I'm not sure because the current
isConnectedRegExp
doesn't match anything in the logs either.I asked @thheller about this and he indicated that those log messages are now in the
.shadow-cljs/server.stdout.log
and.shadow-cljs/server.stdout.log
files. The messages are printed to the files when the server starts and not when Calva tries to connect to it. Since thenrepl.port
file is also created on server startup and Calva looks for files created in.shadow-cljs
, I suppose it will never see the file being created and just wait for that.