mirror of https://github.com/nodejs/node.git
23 lines
438 B
Markdown
23 lines
438 B
Markdown
npm-restart(1) -- Start a package
|
|
=================================
|
|
|
|
## SYNOPSIS
|
|
|
|
npm restart <name>
|
|
|
|
## DESCRIPTION
|
|
|
|
This runs a package's "restart" script, if one was provided.
|
|
Otherwise it runs package's "stop" script, if one was provided, and then
|
|
the "start" script.
|
|
|
|
If no version is specified, then it restarts the "active" version.
|
|
|
|
## SEE ALSO
|
|
|
|
* npm-run-script(1)
|
|
* npm-scripts(1)
|
|
* npm-test(1)
|
|
* npm-start(1)
|
|
* npm-stop(1)
|