From 10a14581813959cad567abd71e16fc5dff5aa185 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 17 Mar 2012 11:08:45 -0400 Subject: [PATCH] updates --- lib/guard/flowerbox.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/guard/flowerbox.rb b/lib/guard/flowerbox.rb index 148604d..ea780cc 100644 --- a/lib/guard/flowerbox.rb +++ b/lib/guard/flowerbox.rb @@ -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