summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-restart.3
blob: a61ed86991a1da0bb893f462b58c1ea182dae560 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RESTART" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-restart\fR \-\- Start a package
.
.SH "SYNOPSIS"
.
.nf
npm\.commands\.restart(packages, callback)
.
.fi
.
.SH "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\.
.
.P
If no version is specified, then it restarts the "active" version\.
.
.P
npm can run tests on multiple packages\. Just specify multiple packages
in the \fBpackages\fR parameter\.
.
.SH "SEE ALSO"
.
.IP "\(bu" 4
npm apihelp start
.
.IP "\(bu" 4
npm apihelp stop
.
.IP "" 0