chlorine-clover

manas_marthi 2022-04-17T09:44:48.015729Z

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.szabo 2022-04-17T17:04:58.616569Z

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.szabo 2022-04-17T17:05:12.012849Z

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

manas_marthi 2022-04-18T03:25:10.621949Z

okay thank you

mauricio.szabo 2022-05-28T03:20:25.495179Z

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.szabo 2022-05-01T15:35:10.308699Z

@manas.marthi 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_marthi 2022-05-02T05:17:12.006499Z

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