摘要: 在试用express写项目时每次写完代码都需要重启项目,比较麻烦,试用nodemon可以解决这个问题实现热更新 首先安装 nodemon,执行命令: npm i -g nodemon 然后执行: nodemon bin/www 这样每次修改代码都会实现热更新 阅读全文