This commit is contained in:
John Bintz 2012-03-17 11:08:45 -04:00
parent fc68d77066
commit 10a1458181

View File

@ -29,7 +29,9 @@ module Guard
def run_on_change(files = [])
UI.info "Guard::Flowerbox running the following files: #{files.join(', ')}"
::Flowerbox.run(@options[:dir], @options.dup.merge(:files => files))
if ::Flowerbox.run(@options[:dir], @options.dup.merge(:files => files)) == 0
run_all
end
end
end
end