-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FSEventsWatcher: Don't walk project unnecessarily
Summary: Following D67579233, we no longer make the distinction between new and changed files in events from watcher *backends*. For `FSEventsWatcher` (macOS), this straightforwardly means we can stop "tracking" files in the watcher, as the only purpose was to disambiguate new/changed, and to not emit deletion events for untracked files (which is already handled downstream for all watchers in `index.js`). Changelog ``` - **[Performance]**: Don't walk project on startup when using fsevents watcher on macOS ``` Reviewed By: huntie Differential Revision: D67579239 fbshipit-source-id: 3761617437a3b9e8168a19e20da48e71e31ea3d9
- Loading branch information
1 parent
a1c9cdb
commit 122bdbd
Showing
1 changed file
with
8 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters