diff --git a/pkg/watcher/linux.go b/pkg/watcher/linux.go index 864a7cf..ce0e02d 100644 --- a/pkg/watcher/linux.go +++ b/pkg/watcher/linux.go @@ -8,8 +8,8 @@ import ( ) const ( - CrDelMask uint32 = syscall.IN_CREATE | syscall.IN_DELETE - ModMask uint32 = syscall.IN_MODIFY + CrDelMask uint32 = syscall.IN_CREATE | syscall.IN_DELETE + ModIgnMask uint32 = syscall.IN_MODIFY | syscall.IN_IGNORED ) const inotifyCount = 16