how to reload the nodejs app after making changes to the file?

Source: https://stackoverflow.com/questions/39676168/how-to-reload-the-nodejs-app-after-making-changes-to-the-file

https://github.com/remy/nodemon#nodemon
You need to stop and re run the server to see your latest update. To automate this, you can use nodemon, do npm i nodemon -g
And run nodemon http_test.js
Now, for every change you make tohttp_test.js the server will be restarted automatically

Không có nhận xét nào:

Is it okay to use both fetchpriority="high" and loading="eager" in img tag?

 https://stackoverflow.com/questions/77744344/is-it-okay-to-use-both-fetchpriority-high-and-loading-eager-in-img-tag Yes Fetchpriority and l...