node.js小技巧——使用 supervisor

1.首先使用 npm 安装 supervisor:

  npm install -g supervisor

2.使用 supervisor 命令启动 app.js:

  supervisor app.js

supervisor 这个小工具可以解决开发中的调试问题。

原文地址:https://www.cnblogs.com/z-sheng/p/4541479.html