|Subject:||Detecting but not reacting to file moves|
I'm using AnyEvent::Filesys::Notify with AnyEvent, and while it does detect and report file creation, file deletion and file modification... it doesn't report file movement when it is supposed to. Action: mv foo foo2 sleep 5 touch foo3 Expected outcome: Immediately, "foo is deleted, foo2 is created" Five seconds later, "foo3 is created" Actual outcome: Immediately, nothing happens. Five seconds later, "foo is deleted, foo2 is created, foo3 is created" In other words, it does remember what happened to foo and foo2, but it doesn't report it when it happens, it only reports it when something ELSE happens in the same directory. Which is definitely a problem, considering that one can't assume that something else WILL happen in that directory; the file movement should be reported as soon as it happens. Perl version: This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux-thread-multi Linux version: Linux obsidian 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012 x86_64 GNU/Linux Attached is a simple script which reproduces this behaviour.
Message body not shown because it is not plain text.