Skip to content

metro-file-map: Don't emit directory events from watcher backends#1646

Open
robhogan wants to merge 1 commit intomainfrom
export-D92053177
Open

metro-file-map: Don't emit directory events from watcher backends#1646
robhogan wants to merge 1 commit intomainfrom
export-D92053177

Conversation

@robhogan
Copy link
Contributor

@robhogan robhogan commented Feb 2, 2026

Summary:
We currently ignore all directory events downstream, so we can simplify the responsibilities of file watcher backends by not emitting directory events.

This is part of a refactoring where eventually we do want to emit consistent directory events, but we can have greater confidence by doing so only when in-memory "directories" (Maps ) are allocated/deleted in the in-memory filesystem.

Changelog: Internal

Differential Revision: D92053177

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 2, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Feb 2, 2026

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92053177.

facebook-github-bot pushed a commit that referenced this pull request Feb 2, 2026
)

Summary:

We currently ignore all directory events downstream, so we can simplify the responsibilities of file watcher backends by not emitting directory events.

This is part of a refactoring where eventually we *do* want to emit consistent directory events, but we can have greater confidence by doing so only when in-memory "directories" (`Map`s ) are allocated/deleted in the in-memory filesystem.

Changelog: Internal

Differential Revision: D92053177
)

Summary:

We currently ignore all directory events downstream, so we can simplify the responsibilities of file watcher backends by not emitting directory events.

This is part of a refactoring where eventually we *do* want to emit consistent directory events, but we can have greater confidence by doing so only when in-memory "directories" (`Map`s ) are allocated/deleted in the in-memory filesystem.

Changelog: Internal

Differential Revision: D92053177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant