-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
'Reload' did not change when I modified a js file #8461
Comments
same as me |
Can you provide more information on what exactly not working? Live reload? HMR? |
@satya164 |
I confirm this as well. I've tried previous fixes before (restarting the server, resetting the cache), but it still doesn't react to file changes. Another thing noticed is the rather long time for the sever to start: Besides that, the node js process hogs all the processor while starting the server. I noticed that because my computer started simulating coffee grinding :) while the packager was crawling the file system. |
@hiphonezhu: Are you definitely enabling "Live Reload" in the simulator? The "Live Reload" setting is set and persisted for each app. If you build a new app it will default to not having it enabled. Can you verify that setting? You didn't mention if you were performing this step or not. |
@dsibiski I am sure that I do not enabling "Live Reload", just 'reload js' |
I have the same problem whether enable "Live Reload" or "Hot Reloading", or both of them. |
I reloaded not changing. same!! |
Still reproducing in RN 0.29 :( |
Apparently, the fix isn't related to RN. |
+1 |
+1,thanks |
anyone solution? i have the same issue on 0.30 to 0.32 |
Same issue on 0.32 on iOS device. On Android device is working. Reload js is not refreshing the js code and also the hot reload and live reload options are not appearing. |
same issue on android device with react-native 0.32. finally, i found method to solve this problem. in file "react-native\packager\react-packager\src\node-haste\FileWatcher\index.js" and change function "_createWatcher" to
that's all and work for me. |
I also have exactly the same problem on v0.32: "the hot reload and live reload options are not appearing." @togayther Does your solution solve this problem too? |
yes, its work for me. @af7 |
We only support HMR for React components, with all the limitations of https://github.com/gaearon/react-transform-hmr#readme |
i have same issue please give me solution |
0.28.0 does not work while 0.27.0 works well.
When I init a React-Native project, after change a js file, reload does not work well
The text was updated successfully, but these errors were encountered: