aionotify icon indicating copy to clipboard operation
aionotify copied to clipboard

Can't reinstall watch for recreated directory

Open SF-300 opened this issue 7 years ago • 0 comments

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.

SF-300 avatar Aug 06 '17 18:08 SF-300