diff --git a/lib/guard/flowerbox.rb b/lib/guard/flowerbox.rb index 76bb104..148604d 100644 --- a/lib/guard/flowerbox.rb +++ b/lib/guard/flowerbox.rb @@ -15,6 +15,12 @@ module Guard UI.info "Guard::Flowerbox running in #{@options[:dir]}" end + def stop + UI.info "Stopping Guard::Flowerbox..." + + ::Flowerbox.cleanup! + end + def run_all UI.info "Guard::Flowerbox running all files..." ::Flowerbox.run(@options[:dir], @options)