@appjumpstart/launch

A simple process manager used to run a Node.js application in the background

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
20May 3, 2019May 7, 2018Minified + gzip package size for @appjumpstart/launch in KB

Readme

launch

A simple process manager used to run a Node.js application in the background

Npm page Build status appjumpstart chat

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

Ā 

AppJumpstart

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.