I can't be sure it happened because of that but I updated my project name using react-native-rename
and rebuild the project couple of hours later. Since then I cant reload my project on device.
Note
On simulator it works , not working only on real device. Running npm-start
return :
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro running while developing on any JS projects. Feel free to │
│ close this tab and run your own Metro instance if you prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/Project/Client
Metro Bundler ready.
Loading dependency graph, done.
and never updating no matter what. I tried to look for .lock
inside .git
as suggested here #4357 but I can't find the .git
directory so I believe it isnt the issue.
I also tried rm -rf /usr/local/var/run/watchman && brew uninstall watchman && brew install watchman
as suggested here #10889 without any luck.
Along the route I tried as well watchman watch-del-all
and rm -fr /usr/local/var/run/watchman/$USER-state