Fork me on GitHub
#nrepl
<
2020-07-30
>
wegi07:07:56

Hey there, is it possible to execute a main method on nREPL startup? I am using IntelliJ+Cursive for development and starting an nrepl with deps.edn seems to ignore the -m my.awesome.class defined in the deps alias. I'm trying to use.

bozhidar20:07:07

@wegi So, your main is supposed to kick off the server, right? I never thought of something like this as it was always my assumption that you'd want to run the main that boots the server.