Fork me on GitHub
#cider
<
2020-06-28
>
niveauverleih09:06:17

In spacemacs, can I reuse a cider session from another project that I am no longer working on, iso. shutting the old one down and startung a new one?

hindol12:06:19

That does not gain anything in my opinion.

practicalli-johnny13:06:30

@nick.romer sesman keybindings were added to the clojure layer in Spacemacs earlier in the year, so there are quite a few options https://develop.spacemacs.org/layers/+lang/clojure/README.html#managing-repl-connections-1

practicalli-johnny14:06:43

I havent really re-used CIDER sessions, so would be interested to hear what works for you, if you are able to share some time. Thanks.

niveauverleih14:06:49

Well, simply open a clj file and launch a cider session via cider Jack in (, '). Then open a clj file from a different project (but in my case it had the same dependencies) and use SPC m m l b = link buffer to REPL session (sesman-link-with-buffer) to reuse the existing session.

👍 3