1 npm-restart(3) -- Restart a package
2 ===================================
6 npm.commands.restart(packages, callback)
10 This restarts a package (or multiple packages).
12 This runs a package's "stop", "restart", and "start" scripts, and associated
13 pre- and post- scripts, in the order given below:
25 If no version is specified, then it restarts the "active" version.
27 npm can restart multiple packages. Just specify multiple packages in
28 the `packages` parameter.
32 Note that the "restart" script is run **in addition to** the "stop"
33 and "start" scripts, not instead of them.
35 This is the behavior as of `npm` major version 2. A change in this
36 behavior will be accompanied by an increase in major version number