search

Home  >  Q&A  >  body text

node.js - npm does not automatically rerun after modifying the file with npm run dev

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! ! !

大家讲道理大家讲道理2719 days ago1851

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-05 11:12:28

    npm run watch

    reply
    0
  • PHPz

    PHPz2017-06-05 11:12:28

    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

    reply
    0
  • Cancelreply