Hot Reloading - Packager does not rebuild code #16834
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Hey!
First i want to say, that react-native is pretty awesome and finally convinced me to give app development a try. Thank you so far!
Unfortunately something in my build system does not work anymore. I also created a stackoverflow question for this problem (link).
A summary of the problem:
"Hot reloading" does not work anymore. Everything used to work really well until some days ago. I dont know what changed but the functionality broke and that is very inconvenient. Once i apply changes to my code i can see the toast message "Hot Loading..." on my phone, so the "watching" seems to work. But i cant see the "bundling
index.js
..." line in my terminal (where i am running the packager via npm start or react-native start). Using the android emulator does not change anything.If i shake the phone, which brings up the dev menu and select "Reload" i can actually see the bundling in the packager process (in my terminal) and the app reloads correctly.
In this issue i read, that a .lock file may prevent watchman from detecting the change, so i moved my yarn.lock to _yarnlock to test that. But that did not work (i also restarted the packager with [ctrl]+C and re-running npm start).
Reinstalling watchman (from source again) did not change the behavior either.
Watchman seems to work correctly, watchman watch-list brings up:
react-native info tells:
Please help me, not only do i have to shake my phone all the time, also i need to re-tap all the elements to reach my target-screen :-)
Kind regards,
Philipp
The text was updated successfully, but these errors were encountered: