ns
npm-start
npm i npm-start
ns

npm-start

'npm start' written in bash that propagates kill to subprocesses

by Mathias Buus

1.4.2 (see all)License:MITTypeScript:Not Found
npm i npm-start
Readme

npm-start

npm start written in bash that propagates kill to subprocesses

npm install npm-start -g

Usage

Usage is exactly the same as npm start

$ cd some-folder-with-a-package-json
$ npm-start

The difference is that when it receives SIGTERM it will kill all subprocesses as well (which npm start doesn't do) and wait for them to exit

$ kill pid-of-npm-start # this will actually kill the node process

Also memory usage for long running processes might be a bit lower since you do not need to spawn an additional node process to start npm

License

MIT

Downloads/wk

43

GitHub Stars

21

LAST COMMIT

7yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

1
VersionTagPublished
1.4.2
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate