nodemon: Stuck at: "[nodemon] restarting due to changes..."
nodemon -v: 2.0.19node -v: 16.17.0- Operating system/terminal environment (powershell, gitshell, etc): Windows 10 - VS Code Terminal(bash)
- Using Docker? What image: n/a
- Command you ran:
nodemon --verbose index.js
Expected behaviour
When I make a change to a file, the server automatically restarts
Actual behaviour
It gets stuck with the message “[nodemon] restarting due to changes…”
Steps to reproduce
- Install nodemon globably using
npm install nodemon@latest -g. - Create a simple npm app using
npm init. - Start the app using the command
nodemon --verbose index.js - Make a change to a file on the server
Things I have tried
- Add the variable to my Path: c:\windows\system32\wbem; c:\windows\system32; c:\windows
- Try lower versions of nodemon
- Update everything
- Restart PC
- Uninstall/Reinstall Node
- Uninstall/Reinstall nodemon
Comments
It is worth noting that I have tried downgrading to lower versions of nodemon, in order to troubleshoot if it was the version, but that did not helped. This started happened randomly, as it was working perfectly fine a week ago. What is weird is that, the same app I am working on, nodemon works really well on my laptop, but not on my PC. I do have everything up to date(npm, node, Windows, VSCode, and even bash), but that still does not solve my issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 31 (2 by maintainers)
Nope, sadly, no solution. I just gave up and just restarted the server myself whenever I made changes.