From 62f9cd53114f66ddf1561042cc9af354b1b6c4da Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Wed, 1 Dec 2010 08:37:31 +0100 Subject: [PATCH] Fixed yesterday merge --- lib/guard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard.rb b/lib/guard.rb index 9b5b5d6..ddeb7e3 100644 --- a/lib/guard.rb +++ b/lib/guard.rb @@ -40,7 +40,7 @@ module Guard loop do if !running? && !listener.changed_files.empty? changed_files = listener.get_and_clear_changed_files - if Watcher.match_files?(guards, files) + if Watcher.match_files?(guards, changed_files) run do guards.each do |guard| paths = Watcher.match_files(guard, changed_files)