SYNOPSIS

npm restart <name>

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.

RELATED TO npm-restart…

*

npm help run-script

*

npm help scripts

*

npm help test

*

npm help start

*

npm help stop