标签: macos npm nodemon
我有一个安装了nodemon的npm项目。当我修改server.js文件中的内容时,它可以正常工作。
我也有一个public / index.html文件。在package.json中,我添加了以下内容:
package.json
"watch": { "build": "public/*.html" }
当我更改index.html中的任何内容并保存时,nodemon不会刷新。有什么想法我做错了吗?