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 loop do
if !running? && !listener.changed_files.empty? if !running? && !listener.changed_files.empty?
changed_files = listener.get_and_clear_changed_files changed_files = listener.get_and_clear_changed_files
if Watcher.match_files?(guards, files) if Watcher.match_files?(guards, changed_files)
run do run do
guards.each do |guard| guards.each do |guard|
paths = Watcher.match_files(guard, changed_files) paths = Watcher.match_files(guard, changed_files)