figwheel-main

niveauverleih 2021-09-15T15:05:55.023900Z

Newbie here. Figwheel starts a Repl. How can I find out on which port, so that I can jack in from Cider?

kennytilton 2021-09-15T15:56:31.026400Z

I am not a Cider user, but generally these things work automatically if one specifies an "nrepl" connection. Then the Cider code would look for a file called .nrepl_port that just contains the port number. @nick.romer

niveauverleih 2021-09-15T17:17:35.027500Z

@hiskennyness May I ask what tooling you use with figwheel?

kennytilton 2021-09-15T17:53:32.031500Z

I use IntelliJ/Cursive, if that is what you mean by "tooling". But I will be honest, I have dabbled in Emacs/CIDER ages ago...hmmm, do I recall having the CLJS run right in an Emacs tab? Lemme do some googling. In the meantime, after starting the figwheel repl check the root directory of that project: you should see a file .nrepl_port. You can get the port there, but this is sth that can be done by the tooling. brb...

kennytilton 2021-09-15T17:54:48.031900Z

@nick.romer, does this help? https://docs.cider.mx/cider/basics/up_and_running.html

kennytilton 2021-09-15T17:57:13.032500Z

This might be better. Figwheel-specific: https://docs.cider.mx/cider/cljs/figwheel.html @nick.romer