Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1K
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda