clean up flowerbox when exiting, closing opened browsers
This commit is contained in:
parent
d5fa3c6f10
commit
fc68d77066
@ -15,6 +15,12 @@ module Guard
|
|||||||
UI.info "Guard::Flowerbox running in #{@options[:dir]}"
|
UI.info "Guard::Flowerbox running in #{@options[:dir]}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def stop
|
||||||
|
UI.info "Stopping Guard::Flowerbox..."
|
||||||
|
|
||||||
|
::Flowerbox.cleanup!
|
||||||
|
end
|
||||||
|
|
||||||
def run_all
|
def run_all
|
||||||
UI.info "Guard::Flowerbox running all files..."
|
UI.info "Guard::Flowerbox running all files..."
|
||||||
::Flowerbox.run(@options[:dir], @options)
|
::Flowerbox.run(@options[:dir], @options)
|
||||||
|
Loading…
Reference in New Issue
Block a user