I want to launch scalatra server from sbt. How do I do that? The following does launch scalatra:
sbt "container:start"
But it exits immediately:
[info] starting server ...
[success] Total time: 2 s, completed Sep 12, 2015 2:39:32 PM
> [info] waiting for server to shut down...
Most preferably the whole thing would run in a nohup as a daemon process.
sbt "; <command>; console"
does the trick. Note the initial semicolon is required.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With