NodeJS

Nodemon not refreshing page automatically

while setting up a MERN app, i was using nodemon to reflect code edits and render the new code in real time. I used npm i -g nodemon which didn't work.

Share this article

5 thoughts on “Nodemon not refreshing page automatically”

  1. Priya

    Spent an hour once debugging this only to find I was editing files outside the watched path. Facepalm.

  2. Alex

    Throwaway branch will test the idea Friday. Reviewers understood the file watch path change.

  3. Bhavya

    Common MERN gotcha. Make sure you’re restarting the right process and not an old terminal session.

  4. Riya

    Local npm install of nodemon as a devDependency was more reliable than -g for our team.

  5. Kritika

    Nodemon flaking on save pushed small services toward Node’s native watch flag. Path diagnosis tips here still helped.

Leave a Reply

Your email address will not be published. Required fields are marked *