Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianwalter/launch
A simple process manager used to run a Node.js application in detached mode
https://github.com/ianwalter/launch
background process
Last synced: about 1 month ago
JSON representation
A simple process manager used to run a Node.js application in detached mode
- Host: GitHub
- URL: https://github.com/ianwalter/launch
- Owner: ianwalter
- License: other
- Created: 2018-05-07T02:33:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T12:53:56.000Z (over 5 years ago)
- Last Synced: 2024-10-23T01:45:09.411Z (3 months ago)
- Topics: background, process
- Language: JavaScript
- Size: 1.29 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# launch
> A simple process manager used to run a Node.js application in the background[![Npm page][npm-image]][npm-url]
[![Build status][build-image]][build-url]
[![appjumpstart chat][gitter-image]][gitter-url]## 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
```console
yarn add @appjumpstart/launch --dev
```## Usage
```console
launch
```Launch the default command (main or scripts.start in package.json):
```console
❯ npx launch
🚀 Launched server on process 40765!
```Kill the process:
```console
❯ npx launch --kill
💥 Killed server on process 40765!
```## Acknowledgement
All dependencies created by the amazing
[Sindre Sorhus](https://github.com/sindresorhus).## License
Apache 2.0 with Commons Clause - See [LICENSE][licenseUrl]
[npm-image]: https://img.shields.io/npm/v/@appjumpstart/launch.svg
[npm-url]: https://www.npmjs.com/package/@appjumpstart/launch
[build-image]: https://travis-ci.com/appjumpstart/launch.svg?branch=master
[build-url]: https://travis-ci.com/appjumpstart/launch
[gitter-image]: https://img.shields.io/gitter/room/appjumpstart/appjumpstart.svg
[gitter-url]: https://gitter.im/appjumpstart
[licenseUrl]: https://github.com/appjumpstart/launch/blob/master/LICENSE