Feature Request: Can we have an api for start-repl-else-switch-to-it?
Hello,
In working with getting Figwheel Main Jack-in work in Calva, I was looking for an api to check if a repl of a build was started. But I couldn't find one and am now instead trying to start it, api/start, and if I get a message back that it is already running I instead try to attach to it, api/cljs-repl.
This will work, I think, but I am worried about if you change that message, that Calva will stop working. I would feel safer if I had an api to query the startedeness of a build's repl. But, really, from my perspective, what I really want to do is just attach to the repl, and would like it to be started for me if it wasn't already running.
Can I haz?
I also run into requiring to do something similar to this. Where there is an error in my build preventing from the session to connect to the clojurejs repl from the browser, instead it is stuck in "user>" i.e. clojure repl. I think some thing like this would fix it, as none of the other apis currrently seem to work.