Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1K
Views
Nodemon not restarting after filechange showing [nodemon] restarting due to changes

I have installed nodemon in my nodejs using

npm install -g nodemon

now, When I run

nodemon index.js

, It starts the file.

after I make a change to my file,

it shows

[nodemon] restarting due to changes...

and it only restarts when I close the Terminal

showing

[nodemon] starting `node src/index.js`
[nodemon] restarting child process

What should I do to fix this?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Ok and I finally fixed it.

I downgraded nodemon to 2.0.2 by running

npm install nodemon@2.0.2 -g 
over 4 years ago · Santiago Trujillo Report

0

You can press Ctrl + C to back out of current operation instead of closing the terminal every time. :)

It has to restart when you make changes to the file.

Do (Ctrl and C) and then press the up arrow to get the last command and attempt to run the application again.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!