Do I need to keep .watchmanconfig file in react-native project

99封情书 提交于 2021-01-20 04:47:45

问题


default react native project generates .watchmanconfig file that is simply empty object {}, can I safely delete this?

A subquestion would be: is there any watchman configuration I can do / refference to improve react-native project experience somehow?


回答1:


.watchmanconfig can be safely deleted.

If Watchman does not find the .watchmanconfig relative to your root directory, then it will simply load the watchman configuration present in /etc/watchman.json in your global configuration.

You don't need to provide a Watchman Configuration unless your project files become very large as mentioned here

Hope it helps!



来源:https://stackoverflow.com/questions/49297764/do-i-need-to-keep-watchmanconfig-file-in-react-native-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!