I am starting to learn Node.js and one of the annoying things I am encountering is the starting and stopping of the server when I make a small change to the .js file. Any alternatives?
You can try installing
npm install -g nodemon
And then you run your server
nodemon server.js localhost 8080
That automatically makes you restart the server every time you save new changes
More Info. Nodemon
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With