Skip to content
A simple process manager used to run a Node.js application in detached mode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
test
.gitignore
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

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
You can’t perform that action at this time.