aionotify
aionotify copied to clipboard
Can't reinstall watch for recreated directory
Hi,
After the directory is deleted without explicit unwatch() call and then recreated under the same name, it becomes impossible to watch it cause the library thinks that the alias(which defaults to path) is already registered. I believe that IGNORED flag should be checked for each event in get_event() coroutine and alias info should be purged on match.