项目监控配置文件更新
更改 vue.config.js
|.eslintrc.js
等配置文件后要手动重启,配置才能生效
现需要更改配置就直接自动重启,借助nodemon
插件实现
{
"scripts": {
"watch": "nodemon --watch vue.config.js --exec yarn serve"
}
}
更改 vue.config.js
|.eslintrc.js
等配置文件后要手动重启,配置才能生效
现需要更改配置就直接自动重启,借助nodemon
插件实现
{
"scripts": {
"watch": "nodemon --watch vue.config.js --exec yarn serve"
}
}