LinuxCommandLibrary

npm-restart

runs stop, restart, and start scripts

TLDR

Restart application

$ npm restart
copy

SYNOPSIS

npm restart [args...]

DESCRIPTION

npm restart runs stop, restart, and start scripts. Executes prerestart, restart, postrestart lifecycle scripts. Useful for restarting server applications defined in package.json.

SEE ALSO

npm(1), npm-start(1), npm-stop(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community