Fork me on GitHub
#chlorine-clover
<
2022-04-17
>
manas_marthi09:04:48

Hi @mauricio.szabo can clover be configured to auto reconnect if there is a disconnect. I am trying to see if I can embed nrepl in my spring boot. Everytime the context restarts, the repl is restarted. So I need to be able to have VSCODE reconnect automatically .

mauricio.szabo17:04:58

Well, Clover does not support this. In Atom, it's possible (because, well, the whole editor is 100% configurable). I may be able to make Clover work on that, but it'll be a bit hard, unfortunately (lots of assumptions I did at the beginning of the "ClojureScript config file" code)

mauricio.szabo17:04:12

(one of these assumptions is that the REPL will be already connected)

manas_marthi03:04:10

okay thank you

mauricio.szabo15:05:10

@U7ANZ2MTK some updates on this - not right now, but it'll be possible soon. I'm working on integrating with #joyride, so it'll be possible to reconnect and, essentially, drive Clover from ClojureScript even without a REPL connected!

manas_marthi05:05:12

Not sure if I understand this concept What I was trying is to Integrate clojure into spring boot. I setup a context listener to stop start nrepl after context restarts. In Spring Tool Suite, the spring dev tools is restarting the context after every compilation. I thought if I can have VSCode to auto reconnect to nrepl when it is restarted due to compilation

mauricio.szabo03:05:25

Well, currently Clover have a way to hook into joyride so it is possible to automate what you want if you still want to give it a try. There's an example on how to automatically connect into socket REPL in the readme (gitlab, not in github) of the newest version 👍

mauricio.szabo03:05:25

Well, currently Clover have a way to hook into joyride so it is possible to automate what you want if you still want to give it a try. There's an example on how to automatically connect into socket REPL in the readme (gitlab, not in github) of the newest version 👍