You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
606 B

.TH "NPM\-RESTART" "3" "October 2014" "" ""
.SH "NAME"
\fBnpm-restart\fR \- Start a package
.SH SYNOPSIS
.P
.RS 2
.nf
npm\.commands\.restart(packages, callback)
.fi
.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\.
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm apihelp start
.IP \(bu 2
npm apihelp stop
.RE