Skip to content

Ensure watchers are cleaned up when directories or files are removed #268

@nathany

Description

@nathany

Some operating systems may clean up for us, others may not.
Removing the watch explicitly could return an error.

IMO, the behaviour we want is to clean up in the library if the OS doesn't, so that the caller doesn't need to worry about cleaning up watchers for removed folders or files.

Brought up in #223
On Windows #208

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions