Skip to content

Watch a directory recursively #2

@roma-glushko

Description

@roma-glushko

Hey folks 👋

Is it possible to watch the directory recursively? So when I do watch("/home/roma/"), I receive events from:

  • /home/roma/* files per se
  • /home/roma/docs and any other existing subdirectory of the path
  • /home/roma/justaddeddir/* - any new directory created after we have started watching the root dir

I assume that this is a common case for inotify usage and would be great to have in pynotify.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions