node.js - npm does not automatically rerun after modifying the file with npm run dev
大家讲道理
大家讲道理 2017-06-05 11:10:28
0
2
1804

After I npm run dev for the project I am working on, I modify the file again, and the terminal will not automatically npm run dev. My previous files are all fine. If I keep running them manually, it will be very time-consuming. Please tell me how to solve the problem. Thank you! ! !

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (2)
phpcn_u1582
npm run watch
    PHPzhong

    You should be talking about hot update, which should need to be configured. If you built node.js by yourself, then you need to configure it. https://www.npmjs.com/package... There are configuration methods above

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!