@appjumpstart/launch

3.0.0 • Public • Published

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

Package Sidebar

Install

npm i @appjumpstart/launch

Weekly Downloads

2

Version

3.0.0

License

SEE LICENSE IN LICENSE

Unpacked Size

11.7 kB

Total Files

13

Last publish

Collaborators

  • ianwalter