npm-restart

重启一个包

概要

npm restart [-- <args>]

描述

这将重新启动一个包。

将按照以下顺序运行包指定的脚本:

  • prerestart
  • prestop
  • stop
  • poststop
  • restart
  • prestart
  • start
  • poststart
  • postrestart

results matching ""

    No results matching ""