Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5021c4dca8
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.51 kB

npm-restart(3) -- Start a package

SYNOPSIS

npm.commands.restart(packages, callback)

DESCRIPTION

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.

If no version is specified, then it restarts the "active" version.

npm can run tests on multiple packages. Just specify multiple packages in the packages parameter.

SEE ALSO

  • npm-start(3)
  • npm-stop(3)
Jump to Line
Something went wrong with that request. Please try again.