-
Notifications
You must be signed in to change notification settings - Fork 24k
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
React Packager not reloading #8784
Comments
Read specs: http://facebook.github.io/react-native/releases/0.29/docs/debugging.html#reloading-javascript This is not a issue with react-native, so please go to Stackoverflow or read docs :) |
@Stoffern i already know this. I go to genymotion, open the so called menu, hit the reload and nothing happens. |
To clarify even more, these actions complete successfully
but my changed files are not there. since the app and React Packager seem to successfully talk with each other, i guess React Packager just does not see the changes. |
@yooneskh . |
Having same issues here. Worked with react-native 0.23 & 0.27. Hot reloading always worked as expected. |
I have same issue on react native 0.28 and windows 10 upd: increasing constant MAX_WAIT_TIME in file "\node_modules\node-haste\lib\FileWatcher\index.js" helped me. (from this recipe #7257 (comment) ) |
exactly same issue on Windows 7 @yooneskh you found any solution? |
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 had the same problem. Working now. Thanks guys! |
Had the same issue, @togayther's solution fixed it. Thanks :) |
I found the directory is wrong, according to the previous method, version 0.34 is supposed to be in the directory, but after I changed or not, have not had any effect |
+1 , I also had the same problem. |
I still have this problem even with @togayther's fix. |
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook#8784 facebook#7257 Closes facebook#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
Summary: increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows. fixes facebook/react-native#8784 facebook/react-native#7257 Closes facebook/react-native#10690 Differential Revision: D4126110 Pulled By: mkonicek fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
I am developing on windows (8.1) and am using genymotion (2.7.2 and Nexus 5 device with android 4) for simulator.
The problem is that i cannot get the reload to work. i have done the adb reverse tcp:8081 tcp:8081 .
The only way to get the new files to be seen is to do another react-native run-android .
Any help?
The text was updated successfully, but these errors were encountered: