Fork me on GitHub
#cider
<
2019-10-29
>
jpmonettas14:10:49

hi! is there a way of starting two repls to the same project? I would like to run both clojure and clojurescript repls but they can't be siblings repls since deps for the server side are declared in deps.edn while the UI side are coming from shadow-cljs.edn

dpsutton14:10:59

jack in and then jack in clojurescript

jpmonettas14:10:06

I tried that but it says that a session with the same parameters exists and offers to connect a sibling instead

dpsutton14:10:29

and say yes to that

jpmonettas14:10:40

if I do that the first one starts but the second doesn't

jpmonettas14:10:36

I'm being able to select the type of repl in the second one but then nothing happens, no new repl buffer

dpsutton14:10:17

anything in the *Messages* buffer?

jpmonettas14:10:46

nothing interesting, just gets stuck there

[nREPL] Starting server via /home/jmonetta/bin/npx shadow-cljs -d nrepl:0.6.0 -d cider/piggieback:0.4.2 -d refactor-nrepl:2.4.0 -d cider/cider-nrepl:0.30.0 server
[nREPL] server started on 44693
[nREPL] Establishing direct connection to localhost:44693 ...
[nREPL] Direct connection to localhost:44693 established
A session with the same parameters exists (my-projects/clograms:localhost:44693).  You can connect a sibling instead.  Proceed? (y or n) y
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} refactor-nrepl {:mvn/version "2.4.0"} cider/cider-nrepl {:mvn/version "0.30.0"}}}' -A:profiler:dev:test -m nrepl.cmdline --middleware '["refactor-nrepl.middleware/wrap-refactor", "cider.nrepl/cider-middleware"]'

bozhidar15:10:55

cider-nrepl 0.30? There’s no such version. 🙂

jpmonettas16:10:56

hahah true XD, I'm using cider-nrepl master, maybe that is the problem

bozhidar17:10:40

I think it’s 0.23-SNAPSHOT 🙂