Add .metro-health-check to .gitignore

Summary:
Changelog:
[General][Changed] - Add Metro health check files to the template's `.gitignore`

We're adding an opt-in watcher health check to Metro, which can occasionally leave files named `.metro-health-check*` in the project. To ensure this doesn't clutter people's repos accidentally if enabled, we preemptively add this as a pattern to `.gitignore` in the new project template. We also add it to the React Native repo's `.gitignore` file just in case.

Reviewed By: arushikesarwani94

Differential Revision: D40352040

fbshipit-source-id: 261803b684d79292c014205084e61d5e4f7aeb3d
This commit is contained in:
Moti Zilberman 2022-10-14 06:51:52 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 0fcce547dc
Коммит 19715cf4fb
2 изменённых файлов: 6 добавлений и 0 удалений

3
.gitignore поставляемый
Просмотреть файл

@ -129,3 +129,6 @@ package-lock.json
# Android memory profiler files
*.hprof
# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

Просмотреть файл

@ -58,3 +58,6 @@ yarn-error.log
# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/
# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*