Nodemon not refreshing page automatically

If you are facing the same issue then uninstall the nodemon and

add the flag –force nodemon while installing nodemon.

Like this npm install -g --force nodemon