Closed jzacsh closed 9 years ago
Slightly more complex one-liner than below, to watch and kill previous servers (ie: "restart" is a lie).
Imagining a package.json scripts entry like:
scripts
"scripts": { "dev": "./node_modules/watch/cli.js 'npm -s restart' $npm_package_config_source" }
Slightly more complex one-liner than below, to watch and kill previous servers (ie: "restart" is a lie).
Imagining a package.json
scripts
entry like: