Fixed yesterday merge

This commit is contained in:
Thibaud Guillaume-Gentil 2010-12-01 08:37:31 +01:00
parent b16239cdc5
commit 62f9cd5311

View File

@ -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)