npm-script-signal
npm script wrapper that passes through signals
Install
$ npm install --save npm-script-signal
Usage
Anywhere when you might normally call npm
, instead call the npm-script-signal
executable. npm
will forward only SIGTERM
signals to scripts (as of 3.8.1).
# lifecycle scripts npm-script-signal start # arbitrary scripts npm-script-signal run my-script
License
MIT © Ben Drucker