3

The boot task boot-cljs-repl provides a way to connect to a ClojureScript REPL which interacts with a running browser instance.

If properly added to the build.boot dependencies one can call the function (start-repl) from within a Clojure repl in order to start up a ClojureScript REPL.

I'm connecting to the clojure REPL from withing Emacs, by the help of the cider package with the function: (cider-connect)

I'm trying to figure out how to have a Clojure REPL and a ClojureScript REPL in two different Emacs buffers (at the same time). The procedure described above does 'replace' the later by the former.

Calling (cider-connect) again, tells me that there is already another REPL running.

I think the behavior I'm looking for was the default when using leiningen + cider-jack-in / cider-jack-in-clojurescript. Those calls seem to be only meant for leiningen.

So, I'm asking: What's the boot way of doing this?

1 Answer 1

2

When calling cider-connect again you should see a prompt:

REPL buffer already exists (*cider-repl localhost*).  Do you really want to create a new one? (y or n)

Just hit y and you get a new REPL buffer.

Same for cider-jack-in and cider-jack-in-clojurescript.

Sign up to request clarification or add additional context in comments.

1 Comment

alright, perfect. I thought this will replace the other. thx. Do you maybe know if cider-jack-in is just for leiningen or also works with boot?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.