npm-restart(3)

npm-restart3

Start a package

Usage

npm.commands.restart(packages, callback)

Overview

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.

From npm 1.4.21+ds-2 in Debian 8 (Jessie). Parsed by carta from the page's man source.