-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code change never showing up on reload (Hot reload not working either) #10889
Comments
same issue |
Bump. |
Same problem, even when loading file with a browser with http://localhost:8081/index.ios.bundle Change are not applied. Although changes seems to be called :
|
+1 |
Hey everyone. @leeight @RomualdPercereau @chanceeakin @bluefantasy728 Did some playing around and wasn't getting answers anywhere. I did the following and it seems to be working now:
Hopefully that works for you! |
@Jonovono: It worked!!! You're the hero we need, not the one we deserve. |
@Jonovono it works! Thank you! |
@Jonovono Thank you it worked! I just spent 3 days trying to solve this issue! |
@Jonovono well It worked.
Thank You @Jonovono |
Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why. |
Well I just removed yarn.lock and now its working fine. |
npm install --save-dev react-native-cli |
Simply restarting the packager worked for me |
I have a this problem as well, all to the sudden. Nothing of the above worked. I'm wondering, it is possible to force a rebuild the JS files without doing an XCode clean? |
None of the above-mentioned solutions are working for me. |
Me neither. On OSX, and that's a first, the only thing that could fix this for me out was to reboot, believe it or not. I'm thinking, the environment is network-based, does various TCP/IP calls through stacks... Perhaps the ports/sockets get gooffed up after days and days for reloading, debugging. Hope this helps a bit... |
I occasionally run into this problem too on MacOS. Like @patrice4github the only thing that works for me is rebooting the computer. |
@Jonovono |
Description
So I am following the sample app. This used to work on my old machine, but I moved to a new one and suddenly it's not working.
Seems like watchman is not detecting file changes anymore?
I see the above when I run
npm run start
. If I make a change to index.ios.js and save it, nothing happens. And if I hit CMD-r the simulator reloads but my change does not appear unless I stop npm run start and run it again.Reproduction
I just did this:
And then ran
npm run start
or even if I doreact-native run-ios
, same issue.Additional Information
react-native-cli: 1.2.0
react-native: 0.37.0
node: v7.0.0
watchman: 4.7.0
The text was updated successfully, but these errors were encountered: