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 restarts but doesn't apply changes

See original GitHub issue
  • Versions:
  • nodemon -v: 2.0.15
  • Operating system/terminal environment (powershell, gitshell, etc): Windows 10 (Ubuntu SBS 18.04.2 LTS (Bionic Beaver))
  • Command you ran: nodemon --exec babel-node – index.js

Expected behaviour

App to restart with updated changes

Actual behaviour

App restarts but does not apply any of the updated changes.

Steps to reproduce

Install nodemon 2.0.15, spin up a simple node.js app with express


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cybrowncommented, May 10, 2022

I’ve managed to replicate this issue on Windows 10, using this repository https://github.com/cybrown/nodemon-bug-http, nodejs version 16.14.0, npm version 8.3.1 and gitbash. It works in cmd and powershell though. It works in gitbash when the web server is not listening.

0reactions
github-actions[bot]commented, Jul 28, 2022

Automatically closing this issue due to lack of activity

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeJS - nodemon not restarting my server - Stack Overflow
After some research, this issue was due to my root directory name : My root directory was named "mysite.git" thus nodemon was watching...
Read more >
How to make your Node.js app restart automatically when you ...
This guide would show you how you can make your Node.js application reload automatically whenever you make changes to your code during ...
Read more >
Automatically restart Node.js apps with Nodemon
The essential tutorial for Nodemon, a utility for Node.js applications that monitors for changes and automatically restarts the server.
Read more >
nodemon events — run tasks at server start, restart, crash, exit
nodemon wraps your node application and watches for any files that have changed. This is super-useful because you don't need to restart your...
Read more >
Automatically Restart Node Apps on File Change with nodemon
In this short tutorial, learn how to restart Node/JavaScript applications automatically when you change a source file with Nodemon.
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