Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 364
Ilja Avatar asked Dec 14 '22 17:12

Ilja


1 Answers

.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!

like image 113
Pritish Vaidya Avatar answered Dec 17 '22 23:12

Pritish Vaidya