Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]

 


AppJumpstart

[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