Skip to content

Multiple add events for a single file can be emitted on Windows #2110

Closed
@bkonyi

Description

@bkonyi

If a file is created in a directory that doesn't exist, it's possible for two WatchEvents to be emitted for the creation of the same file.

For example, performing the following operation in a watched directory can reproduce the behavior:

File('new-dir/foo.txt').createSync(recursive: true);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions