1NPM-RESTART(1)                                                  NPM-RESTART(1)
2
3
4

NAME

6       npm-restart - Restart a package
7

SYNOPSIS

9         npm restart [-- <args>]
10

DESCRIPTION

12       This restarts a package.
13
14       This runs a package's "stop", "restart", and "start" scripts, and asso‐
15       ciated pre- and post- scripts, in the order given below:
16
17       1. prerestart
18
19       2. prestop
20
21       3. stop
22
23       4. poststop
24
25       5. restart
26
27       6. prestart
28
29       7. start
30
31       8. poststart
32
33       9. postrestart
34
35

NOTE

37       Note that the "restart" script is run in addition  to  the  "stop"  and
38       "start" scripts, not instead of them.
39
40       This  is  the  behavior  as  of  npm major version 2.  A change in this
41       behavior will be accompanied by an increase in major version number
42

SEE ALSO

44       · npm help run-script
45
46       · npm help 7 scripts
47
48       · npm help test
49
50       · npm help start
51
52       · npm help stop
53
54       · npm apihelp restart
55
56
57
58
59
60                                 October 2019                   NPM-RESTART(1)
Impressum