Nodemon not restarting: [nodemon] restarting due to changes.
See original GitHub issueNodemon not restarting: [nodemon] restarting due to changes… i use vs code if change my code but not update my code browser and show restarting use due to change
nodemon -v:2.0.9node -v:v16.0.0- Operating system/terminal environment: windows 10 vs code terminal
- Using Docker? What image:
- Command you ran: nodemon index.js
Expected behaviour
const http = require("http"); const PORT = 3000; const hostName = "127.0.0.1"; const server = http.createServer((req,res) => { res.end("Welco my server server test test"); }) server.listen(PORT,hostName, () => { console.log(server is running at http://${hostName}😒{PORT}) })
Actual behaviour
Steps to reproduce
[nodemon] 2.0.9
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node index.js
server is running at http://127.0.0.1:3000
[nodemon] restarting due to changes…
[nodemon] restarting due to changes…
If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:49 (10 by maintainers)

Top Related StackOverflow Question
I have same problem. node v 14.17.3 nodemon v 2.0.12
And I fixed that by installed nodemon @2.0.7
then It work.
I managed to solve it just by changing the nodemon version to 2.0.7
npm i nodemon@2.0.7
problem soved ✔