微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

react native watchman 作用

我从一篇文档上截取下来的几块描述:

1.Further bolstering its reputation as a good open source citizens,Facebook has open sourced an in-house developed tool called watchman,designed to help Web developers speed up build times by automatically tracking file changes and kicking off automated responses.

2.Facebook's engineering team used Watchman,which runs on Linux,OS X,FreeBSD,and Solaris,to kick off builds while engineers are editing files. "Between this and more intelligent incremental processing,we've been able to reduce our interactive-user p50 build times by 60 percent," Furlong wrote. "It's not a silver bullet for making builds go fast,but it has helped us to make noticeable improvements both here and in some other internal projects."

总结一下:watchman是个文件监控系统,他优化的是reload文件遍历机制,加入watchman的RN,reload会加快,没加的会遍历量很高,很慢

文章地址:http://www.tuicool.com/articles/Z3UFzu

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐