I am running my nodejs app by npm start
npm start
I just installed nodemon by sudo npm install -g nodemon so that i can get my server restarted when i s
sudo npm install -g nodemon
thanks you need to type this after to enter in the folder application with
cd your_project_folder
sudo nodemon bin/www