When I run react-native start or npm start , the packer starts up and asks Looking for JS files in /Users/map/repos/myrepo/
I have a hot reboot enabled. When I modify the file located in /Users/map/repos/myrepo/node_modules/react-native/ it seems to detect the change, however, if I edit the file in a third-party repository, for example /Users/map/repos/myrepo/node_modules/react-native-menu/ , it looks like the watchman is not detecting the change.
I just upgraded React Native in my project to 0.39, and I think this was not the default before. I set some entries in react-packager/src/node-haste/index.js and it seems that react-native-menu files are included in hasteFSFiles , however change does not hasteFSFiles event.
I tried to remove node_modules and reinstall it, clear the state of Watchman and stuff without luck.
source share