npm-restart(1)

npm-restart1

Usage

<!-- AUTOGENERATED USAGE DESCRIPTIONS -->

Overview

This restarts a project. It is equivalent to running npm run-script restart.

If the current project has a &quot;restart&quot; script specified in
package.json, then the following scripts will be run:

•

prerestart

•

restart

•

postrestart

If it does not have a &quot;restart&quot; script specified, but it does have
stop and/or start scripts, then the following scripts will be run:

•

prerestart

•

prestop

•

stop

•

poststop

•

prestart

•

start

•

poststart

•

postrestart

Configuration

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

Releases

5 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 10
  3. 11
  4. 12
  5. 13

From npm 9.2.0~ds1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.