]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/cli/npm-restart.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / cli / npm-restart.md
1 npm-restart(1) -- Restart a package
2 ===================================
3
4 ## SYNOPSIS
5
6     npm restart [-- <args>]
7
8 ## DESCRIPTION
9
10 This restarts a package.
11
12 This runs a package's "stop", "restart", and "start" scripts, and associated
13 pre- and post- scripts, in the order given below:
14
15 1. prerestart
16 2. prestop
17 3. stop
18 4. poststop
19 5. restart
20 6. prestart
21 7. start
22 8. poststart
23 9. postrestart
24
25 ## NOTE
26
27 Note that the "restart" script is run **in addition to** the "stop"
28 and "start" scripts, not instead of them.
29
30 This is the behavior as of `npm` major version 2.  A change in this
31 behavior will be accompanied by an increase in major version number
32
33 ## SEE ALSO
34
35 * npm-run-script(1)
36 * npm-scripts(7)
37 * npm-test(1)
38 * npm-start(1)
39 * npm-stop(1)
40 * npm-restart(3)