Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

React Native 要保存2次才刷新模拟器数据?

更新了代码, 一保存, 模拟器也会刷一下提示更新了, 但是实际上并没有更新, 我再保存一次, 又再提示更新了, 这个时候就是确实更新了(原理是关联了一个 watcher 程序来监听文件保存吧)

不是每次都这样, 例如前几天不这样, 今天又这样, Android模拟器好像不会这样, iOS 又会...

有时会有时不会, 我试过重启项目甚至重启机器都于事无补, 有人遇到过吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...