question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nodemon stuck on restarting due to changes...

See original GitHub issue

Hi, i tried with npm i nodemon@debug in the package json i can see

{ “dependencies”: { “aws-sdk”: “^2.1058.0”, “express”: “^4.17.2”, “nodemon”: “^2.0.14-alpha.1”, “uuid”: “^8.3.2” } }

but with nodemon -v i get 1.19.4

the script i ran it’s very simple

const express = require('express')
const app = express()
const port = 3000

app.get('/', (req, res) => {
  res.send('AAAHellodwddcc')
})

app.listen(port, () => {
  console.log(`Example Test listening at http://localhost:${port}`)
})
  • Versions:
  • node@v16.13.2, win32@10.0.19042
  • nodemon -v:
  • 1.19.4
  • Operating system/terminal environment (powershell, gitshell, etc): Windows10 / VS Code
  • Using Docker? What image: no Docker
  • Command you ran: nodemon server.js

Expected behaviour

restarting server and refresh web page

Actual behaviour

stuck to [nodemon] restarting due to changes… and no refresh

Steps to reproduce


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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

1reaction
Balestra78commented, Jan 31, 2022

i launched npm install -g nodemon@2 as @lorand-horvath wrote, and now it seems to work fine, thanks a lot

1reaction
Balestra78commented, Jan 31, 2022

npm install -g nodemon@2

@lorand-horvath i launched this command and now it seems to work fine, thanks a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nodemon stuck at "[nodemon] restarting due to changes" #1915
Try running nodemon version 2.0.7. It fixed my problem.
Read more >
Nodemon stuck at "restarting due to changes..." and won't ...
I am using window 10, and I faced this issue after I accidentally removed my %PATH% variable. Try adding these three paths if...
Read more >
nodemon waiting for changes before restart - You.com
1. Go to the task manager 2. Then look for Node.js: Server-side JavaScript 3. Then right click on it and End task from...
Read more >
nodemon is not restarting due to changes - Treehouse
I install nodemon <npm install -g nodemon>, I get the console message that all is going ok but when I change something in...
Read more >
Automatically Restart Node Apps on File Change with nodemon
Nodemon allows you to automate the process of restarting Node applications when you make changes to the underlying files. This isn't an issue ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found