Skip to content

[INotifyWatcher] Fast recursive events in nested paths are not delivered #727

@riberk

Description

@riberk
watcher.watch(path).unwrap();
std::fs::create_dir_all(path.join("1/2/3/4/5/6/7/8/9/10")).unwrap()

The code above raises only the single event: Create for path.join("1")

I think, it's because the creation is done faster, than we add a new watch. I'll try to solve this after tests enhancement. I think, the way to solve it may be raising events while scanning the dirs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions