Welcome to mirror list, hosted at ThFree Co, Russian Federation.

restart.md « doc - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca1ad45c179044f1165ff192bd165acdeb92cdd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
npm-restart(1) -- Start a package
=================================

## SYNOPSIS

    npm restart <name> [<version>]

## DESCRIPTION

This runs a package's "stop" script, if one was provided, and then
the "start" script.

If no version is specified, then it restarts the "active" version.

This is identical to doing:

    npm stop <name>
    npm start <name>

## SEE ALSO

* npm-start(1)
* npm-stop