npm run dev 修改后自动重启服务器

时间:2019-06-22 20:39:52   收藏:0   阅读:410
"scripts": {
"dev": "supervisor index"
},

Running node-supervisor with
program ‘index‘
--watch ‘.‘
--extensions ‘node,js‘
--exec ‘node‘

Starting child process with ‘node index‘
Watching directory ‘C:\wamp\www\zhang\3jd\day1\router‘ for changes.
Press rs for restarting the process.

 

原文:https://www.cnblogs.com/shenlan88/p/11070035.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!