npm run watch

npm run watch 启动服务可以实时监听,需要在项目文件夹,安装nodemon, npm run watch 要在package.json写watch,还要给项目装一个项目依赖,cnpm i nodemon -S
相关文章
相关标签/搜索