diff --git a/lib/guard/listeners/linux.rb b/lib/guard/listeners/linux.rb index 7bd3048..a4d4f05 100644 --- a/lib/guard/listeners/linux.rb +++ b/lib/guard/listeners/linux.rb @@ -56,7 +56,7 @@ module Guard unless files.empty? files.map! { |file| file.gsub("#{Dir.pwd}/", '') } - callback.call(files.dup) + callback.call(files) files.clear end