Fork me on GitHub
#dirac
<
2016-07-13
>
spinningtopsofdoom20:07:29

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)?

darwin20:07:27

hm, can you describe it in more detail? I don’t follow

spinningtopsofdoom20:07:13

In the sample project running the command lein repl sets everything up for connecting to nrepl (e.g. via Cursive)

spinningtopsofdoom20:07:59

But after all the dirac and nrepl setup is run the repl you end up with is the lein repl, not the dirac repl

spinningtopsofdoom20:07:20

So to run the dirac repl outside of the dirac chrome extension I need to connect to it from another location.

darwin20:07:08

ok, now I understand. lein repl should be normal clojure repl connected to the nrepl server

darwin20:07:34

so running (dirac! :join) there should give you joined dirac repl

darwin20:07:47

like you would get from cursive nrepl client, for example

spinningtopsofdoom20:07:06

Ah I tried that before without success, it was probably my setup, thanks!

darwin20:07:26

it won’t work until you connect at least one dirac to the nrepl server (agent)

spinningtopsofdoom20:07:52

that's from the repl you get from running lein repl in the sample project correct?

spinningtopsofdoom20:07:58

thanks again for pointing me in the correct direction.