Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Nodemon not detecting changes in your script-Try using node-supervisor

edited January 30 in Programming

I installed nodemon but i realized it was not detecting changes.If you have faced the same problem I have a solution for you.Try to install node supervisor

Install node globally so that you can use it on all projects

Enter_** npm install supervisor -g**_

if above option gives you permission error try
_
sudo npm install supervisor -g_

Once installing is complete,run your script by entering

supervisor yourfilename.js

See below screenshot how i did mine and it worked fine.

Sign In or Register to comment.