Fork me on GitHub
#nrepl
<
2020-07-31
>
wegi06:07:32

Yes exactly. I could of course just start the repl and the start the server out of the repl. It would just be a convenience, and I was not sure if I maybe missed an option 😄

dominicm06:07:50

Can share the snippet I use for this :)

dominicm07:07:00

clojure -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"}}}' -e "(require 'nrepl.cmdline) (future (nrepl.cmdline/-main))" -m your.main This is no good for short-lived (exiting) processes though, as there's leftover agents.

wegi07:07:29

This is cool, thanks. I only need it for server processes and in development anyway. Thank you :thumbsup: