For someone who is coming from PHP background the process of killing node and starting it again after every code change, seems very tedious. Is there any flag when starting
You can also try nodemon
To Install Nodemon
npm install -g nodemon
To use Nodemon
Normally we start node program like:
node server.js
But here you have to do like:
nodemon server.js