Clear the terminal on start when the :clear option is given
This commit is contained in:
parent
952d4b4b81
commit
ddc6f26b91
@ -34,6 +34,7 @@ module Guard
|
||||
run { run_on_change_for_all_guards(files) } if Watcher.match_files?(guards, files)
|
||||
end
|
||||
|
||||
UI.clear if options[:clear]
|
||||
UI.info "Guard is now watching at '#{Dir.pwd}'"
|
||||
guards.each { |guard| supervised_task(guard, :start) }
|
||||
listener.start
|
||||
|
Loading…
Reference in New Issue
Block a user