Add attrib on linux listener
This commit is contained in:
parent
18cb3471af
commit
667b248ad0
@ -46,7 +46,7 @@ module Guard
|
|||||||
|
|
||||||
def watch(directory)
|
def watch(directory)
|
||||||
# The event selection is based on https://github.com/guard/guard/wiki/Analysis-of-inotify-events-for-different-editors
|
# 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
|
unless event.name == "" # Event on root directory
|
||||||
@files << event.absolute_name
|
@files << event.absolute_name
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user