Skip to content

Commit

Permalink
Monitor for changes to :attrib (File.mtime) on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 7, 2016
1 parent 01555dc commit e7ea587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/files/monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def self.run_with_inotify(monitor, options = {}, &block)
catch(:interrupt) do
while true
monitor.roots.each do |root|
notifier.watch root, :create, :modify, :delete do |event|
notifier.watch root, :create, :modify, :attrib, :delete do |event|
monitor.update([root])

yield
Expand Down

0 comments on commit e7ea587

Please sign in to comment.