node/deps/npm/man/man3/npm-restart.3

30 lines
608 B
Groff
Raw Normal View History

2014-09-17 06:38:50 +08:00
.TH "NPM\-RESTART" "3" "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\.commands\.restart(packages, callback)
2014-09-25 05:41:07 +08:00
.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\.
.P
npm can run tests on multiple packages\. Just specify multiple packages
in the \fBpackages\fR parameter\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm apihelp start
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm apihelp stop
2014-09-25 05:41:07 +08:00
.RE