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

Posted shenlan88

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm run dev 修改后自动重启服务器相关的知识,希望对你有一定的参考价值。

"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.

 

以上是关于npm run dev 修改后自动重启服务器的主要内容,如果未能解决你的问题,请参考以下文章