【自动重启】nodemon自动重启动服务【node.js】

  1. 配置vscode
auto save
  afterDelay
  1. 安装
npm install -g nodemon --registry=https://registry.npm.taobao.org
  1. 运行
// node test.js
nodemon test.js

原文地址:https://www.cnblogs.com/amize/p/14902589.html