Currently, I have a ClojureScript nREPL which runs on 3333
. I want to connect to the nREPL from Atom using Proto REPL. I am now using the cmd+shift+p > nREPL connect > enter host and port
. After which I run the atom init script:
atom.commands.add 'atom-text-editor', 'nrepl:connect', ->
protoRepl.executeCode("(shadow.cljs.devtools.api/node-repl)")
Is there a way to open the Proto REPL and connect directly from the init script without having to enter the host and port manually? I am starting the watch using
yarn shadow-cljs watch app
Thanks.