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

Feature request: add or remove watched directories while async for changes in awatch('/path/to/dir') is iterating #298

Open
tovrstra opened this issue Aug 21, 2024 · 0 comments

Comments

@tovrstra
Copy link

I was hoping to use watchfiles, but it seems impossible to add or remove watches while iterating over changes. (?)

Such a feature would be useful for more complex programs where one coroutine or thread is responsible for deciding which directories to (un)watch, typically not recursively, while another part of the program is in charge of processing file system events.

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