Actually clear the terminal before the setup (don't clear setup messages).
This commit is contained in:
parent
c14460f86e
commit
21f5a41f88
@ -22,6 +22,7 @@ module Guard
|
|||||||
end
|
end
|
||||||
|
|
||||||
def start(options = {})
|
def start(options = {})
|
||||||
|
UI.clear if options[:clear]
|
||||||
setup(options)
|
setup(options)
|
||||||
|
|
||||||
Interactor.init_signal_traps
|
Interactor.init_signal_traps
|
||||||
@ -34,7 +35,6 @@ module Guard
|
|||||||
run { run_on_change_for_all_guards(files) } if Watcher.match_files?(guards, files)
|
run { run_on_change_for_all_guards(files) } if Watcher.match_files?(guards, files)
|
||||||
end
|
end
|
||||||
|
|
||||||
UI.clear if options[:clear]
|
|
||||||
UI.info "Guard is now watching at '#{Dir.pwd}'"
|
UI.info "Guard is now watching at '#{Dir.pwd}'"
|
||||||
guards.each { |guard| supervised_task(guard, :start) }
|
guards.each { |guard| supervised_task(guard, :start) }
|
||||||
listener.start
|
listener.start
|
||||||
|
Loading…
Reference in New Issue
Block a user