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.

Not reloading on file change

See original GitHub issue

Description

When I attempt make changes to a Component it doesn’t re-build inside of npm start as shown below:

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will see the build errors and lint warnings in the console.

Build errors

Expected behavior

When I change a file I would expect the source for my app to update so that upon reload I could see my changes

Actual behavior

Nothing Happens

Environment

  1. npm ls react-scripts (if you haven’t ejected): XXX> npm ls react-scripts XXX@0.1.0 XXXX `-- react-scripts@0.9.5

  2. node -v: v7.7.3

  3. npm -v: 4.4.1

  4. Operating system: Windows 10

  5. Browser and version: Chrome Latest

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Django server not reloading on file changes - Stack Overflow
Everything seems to be working fine except the fact that the server does not reload when I make file changes (on all python...
Read more >
Document is not getting reloaded when changes are made ...
We are noticing that once a build is done, external change made to files such as js are not tracked. The workflow was...
Read more >
React not reloading on it's own - Codecademy Forums
when you make a bigger change in your code, you may have to refresh the browser or restart the server (stop the server...
Read more >
Reopen documents on Reload after file modification detected
Tools > Options > Environment > Documents > Detect when file is changed outside the environment > Reload modified files unless there are...
Read more >
Built in webserver not reloading Python files upon requests
The behavior you describe with --nothreading (where the server reloads immediately upon a file save) is the normal and expected behavior. So something...
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