node/deps/npm/man/man1/npm-restart.1

33 lines
563 B
Groff
Raw Normal View History

2014-09-17 06:38:50 +08:00
.TH "NPM\-RESTART" "1" "September 2014" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-restart\fR \- Start a package
.SH SYNOPSIS
.P
.RS 2
.EX
npm restart [\-\- <args>]
.EE
.RE
.SH DESCRIPTION
.P
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\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help run\-script
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 7 scripts
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help test
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help start
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help stop
2014-09-25 05:41:07 +08:00
.RE