]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-restart.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-restart.3
1 .TH "NPM\-RESTART" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-restart\fR \- Restart a package
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.restart(packages, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This restarts a package (or multiple packages)\.
14 .P
15 This runs a package's "stop", "restart", and "start" scripts, and associated
16 pre\- and post\- scripts, in the order given below:
17 .RS 0
18 .IP 1. 3
19 prerestart
20 .IP 2. 3
21 prestop
22 .IP 3. 3
23 stop
24 .IP 4. 3
25 poststop
26 .IP 5. 3
27 restart
28 .IP 6. 3
29 prestart
30 .IP 7. 3
31 start
32 .IP 8. 3
33 poststart
34 .IP 9. 3
35 postrestart
36
37 .RE
38 .P
39 If no version is specified, then it restarts the "active" version\.
40 .P
41 npm can restart multiple packages\. Just specify multiple packages in
42 the \fBpackages\fP parameter\.
43 .SH NOTE
44 .P
45 Note that the "restart" script is run \fBin addition to\fR the "stop"
46 and "start" scripts, not instead of them\.
47 .P
48 This is the behavior as of \fBnpm\fP major version 2\.  A change in this
49 behavior will be accompanied by an increase in major version number
50 .SH SEE ALSO
51 .RS 0
52 .IP \(bu 2
53 npm apihelp start
54 .IP \(bu 2
55 npm apihelp stop
56
57 .RE
58