09fca44994651f2f82500b7bdbfe177fd1c67c6e
[platform/upstream/nodejs.git] / deps / npm / man / man3 / npm-restart.3
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-RESTART" "3" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-restart\fR \-\- Start a package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm\.commands\.restart(packages, callback)
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 This runs a package\'s "restart" script, if one was provided\.
18 Otherwise it runs package\'s "stop" script, if one was provided, and then
19 the "start" script\.
20 .
21 .P
22 If no version is specified, then it restarts the "active" version\.
23 .
24 .P
25 npm can run tests on multiple packages\. Just specify multiple packages
26 in the \fBpackages\fR parameter\.
27 .
28 .SH "SEE ALSO"
29 .
30 .IP "\(bu" 4
31 npm apihelp start
32 .
33 .IP "\(bu" 4
34 npm apihelp stop
35 .
36 .IP "" 0
37