Fork me on GitHub
#dirac
<
2016-12-11
>
tf005400:12:28

Hmm. Actually I am a newbee of Cider, but couldnt I use "cider-jack-in-crojurescript" with Dirac?

darwin00:12:52

can’t tell, I’m not familiar with cider

tf005400:12:03

I see, actually I dont know Cider can be used without "com.cemerick/piggieback" or not (I cannot so far), but as you wrote its impossible to use "dirac.nrepl/middleware" with it, right?

darwin00:12:45

I forked piggieback, so there would be a clash between piggieback and dirac, you cannot use them at the same time

darwin00:12:05

but cider could work with dirac’s nrepl middleware, because it is piggieback plus extra stuff

tf005400:12:21

Right! I will try more! I guess you have changed the ns of it, right?

darwin00:12:20

I think some people are using it with cider, at least I was asked to fix some dependency issues https://github.com/binaryage/dirac-sample/blob/master/project.clj#L92

tf005400:12:54

Thanks! but can I understand "repl-cider" on the sample doesnt start with "binaryage/dirac"? Is it ok for using Dirac?

darwin00:12:26

lein repl uses the :repl profile

darwin00:12:48

this is automagical behaviour of lein, by default lein task brings in :lein profile

tf005400:12:15

Ah, I might understand 🙂

cmal11:12:55

Hi, if I want to use lein repl to start a dirac repl, should I add a :repl k/v pair to :profiles? I tried to add

:repl
             {:repl-options {:port             8230
                             :nrepl-middleware [dirac.nrepl/middleware]
                             :init             (do
                                                 (require 'dirac.agent)
                                                 (dirac.agent/boot!))}}
to my project.clj, but lein repl cannot start.(But the dirac-sample project works). Did I misunderstand something? error: Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: do in this context, compiling:(/private/var/folders/3n/cbv5r8rd2bj_f6lpjr2ck0_r0000gn/T/form-init2130278905813355364.clj:1:7275)

cmal11:12:44

the :repl key is under :profiles key

darwin22:12:46

@cmal: sorry, no idea, maybe share full project.clj