summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/restart.md
blob: 6139dbeefb4ebf8ffe130cf2d629678f3d7be0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)