dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
2016-07-13T20:24:29.000162Z

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

2016-07-13T20:25:27.000163Z

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

2016-07-13T20:27:13.000164Z

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

2016-07-13T20:27:59.000165Z

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

2016-07-13T20:29:20.000166Z

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

2016-07-13T20:30:08.000167Z

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

2016-07-13T20:30:34.000168Z

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

2016-07-13T20:30:47.000169Z

like you would get from cursive nrepl client, for example

2016-07-13T20:32:06.000170Z

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

2016-07-13T20:32:26.000171Z

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

2016-07-13T20:33:05.000172Z

my quick test: https://gist.github.com/darwin/8ed334d44d935fa198bc476d2b14fd3e

2016-07-13T20:34:52.000174Z

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

2016-07-13T20:35:02.000175Z

correct

2016-07-13T20:35:58.000176Z

thanks again for pointing me in the correct direction.

👍 1