Welcome to OStack Knowledge Sharing 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 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...