@appjumpstart/launch
v3.0.0
Published
A simple process manager used to run a Node.js application in the background
Downloads
14
Maintainers
Readme
launch
A simple process manager used to run a Node.js application in the background
About
launch
is useful when you want to run a long-running Node.js process in
detached mode (background), want the output from the process directed to a log
file, and want to be able to easily kill the process at a later stage. A common
use case would be running a Node.js server, running a test suite against the
running server, and then killing the server when the test suite has finished.
Installation
yarn add @appjumpstart/launch --dev
Usage
launch <file|command?>
Launch the default command (main or scripts.start in package.json):
❯ npx launch
🚀 Launched server on process 40765!
Kill the process:
❯ npx launch --kill
💥 Killed server on process 40765!
Acknowledgement
All dependencies created by the amazing Sindre Sorhus.
License
Apache 2.0 with Commons Clause - See LICENSE