From 667b248ad06607d4101a46a043b029646a388bd0 Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Sat, 3 Sep 2011 14:25:12 +0200 Subject: [PATCH] Add attrib on linux listener --- lib/guard/listeners/linux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/listeners/linux.rb b/lib/guard/listeners/linux.rb index ed85d8a..68453cb 100644 --- a/lib/guard/listeners/linux.rb +++ b/lib/guard/listeners/linux.rb @@ -46,7 +46,7 @@ module Guard def watch(directory) # The event selection is based on https://github.com/guard/guard/wiki/Analysis-of-inotify-events-for-different-editors - worker.watch(directory, :recursive, :create, :move_self, :close_write) do |event| + worker.watch(directory, :recursive, :attrib, :create, :move_self, :close_write) do |event| unless event.name == "" # Event on root directory @files << event.absolute_name end