Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch a directory recursively #22

Open
roma-glushko opened this issue Sep 6, 2023 · 0 comments
Open

Watch a directory recursively #22

roma-glushko opened this issue Sep 6, 2023 · 0 comments

Comments

@roma-glushko
Copy link

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 ainotify.

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant