当我运行react-native start或npm start打包程序启动并提示Looking for JS files in /Users/map/repos/myrepo/
我启用了热重载。当我更改位于其中的文件时,/Users/map/repos/myrepo/node_modules/react-native/似乎可以检测到更改,但是如果我在第三方存储库中编辑文件,/Users/map/repos/myrepo/node_modules/react-native-menu/就像 watchman 没有检测到更改一样。
我刚刚将我项目中的 React Native 升级到 0.39,我认为这不是之前的默认行为。我已经设置了一些登录,react-packager/src/node-haste/index.js并且似乎react-native-menu文件包含在 中hasteFSFiles,但是change没有触发事件。
我试过删除node_modules并重新安装它,清洁守望者状态和其他没有运气。