in reply to Fresh eyes - linux::Inotify2 event delays
I usually don't use Linux::Inotify2 (there were some problems installing it, IIRC), I just
open my $inotify, '-|', do { no warnings 'qw'; qw( inotifywait -m -r -e close_write -e moved_to --exclude /\ +.git/|~$|/#[^/]+# . ) } or die $!; while (<$inotify>) { my ($path, $event, $file) = split; ...
It seems you ignore IN_MOVED_TO while I react to it. Maybe it can be the problem, or not?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Fresh eyes - linux::Inotify2 event delays
by ghenry (Vicar) on Apr 06, 2022 at 14:19 UTC | |
by kikuchiyo (Hermit) on Apr 06, 2022 at 17:09 UTC | |
by ghenry (Vicar) on Apr 07, 2022 at 15:28 UTC | |
by ghenry (Vicar) on Apr 06, 2022 at 19:00 UTC | |
by kikuchiyo (Hermit) on Apr 06, 2022 at 20:15 UTC | |
by ghenry (Vicar) on Apr 07, 2022 at 08:10 UTC |