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

33 lines
563 B
Groff

.TH "NPM\-RESTART" "1" "September 2014" "" ""
.SH "NAME"
\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\.
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help run\-script
.IP \(bu 2
npm help 7 scripts
.IP \(bu 2
npm help test
.IP \(bu 2
npm help start
.IP \(bu 2
npm help stop
.RE