3.0.0 • Published 5 years ago

@appjumpstart/launch v3.0.0

Weekly downloads
4
License
SEE LICENSE IN LI...
Repository
github
Last release
5 years ago

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