可能原因
1.localhost 没改
2.http->https App Transport Security Settings
3.程目录npm start
- !–mac 上是这样的:
brew uninstall –force watchman
brew install –HEAD watchman
重新安装watchman就可以了–!
生成 main.jsBundle
curl http://localhost:8081/index.ios.bundle -o main.jsbundle
另
开源提示软件
https://github.com/virtoolswebplayer/ReactNative-LiveTemplate
react native reload 没有变化由于Watcher在windows花费太长时间,增加超时时间,修改变量MAX_WAIT_TIME
本文档详细介绍了React Native项目中遇到的一些常见问题及其解决方案,包括localhost配置、HTTPS设置、watchman更新等,并提供了一个开源工具供开发者使用。
1273

被折叠的 条评论
为什么被折叠?



