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 😄
Can share the snippet I use for this :)
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.
This is cool, thanks. I only need it for server processes and in development anyway. Thank you :thumbsup: