Is there a way to connect to the dirac repl from the starting repl (e.g. the repl created by running lein repl
in the sample project)?
hm, can you describe it in more detail? I don’t follow
In the sample project running the command lein repl
sets everything up for connecting to nrepl (e.g. via Cursive)
But after all the dirac and nrepl setup is run the repl you end up with is the lein repl, not the dirac repl
So to run the dirac repl outside of the dirac chrome extension I need to connect to it from another location.
ok, now I understand. lein repl
should be normal clojure repl connected to the nrepl server
so running (dirac! :join)
there should give you joined dirac repl
like you would get from cursive nrepl client, for example
Ah I tried that before without success, it was probably my setup, thanks!
it won’t work until you connect at least one dirac to the nrepl server (agent)
my quick test: https://gist.github.com/darwin/8ed334d44d935fa198bc476d2b14fd3e
that's from the repl you get from running lein repl
in the sample project correct?
correct
thanks again for pointing me in the correct direction.