Permalink
Browse files

Actually clear the terminal before the setup (don't clear setup messa…

…ges).
  • Loading branch information...
1 parent c14460f commit 21f5a41f88999eea69a3cfb3be3798967a7a4a08 Rémy Coutable committed Jun 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard.rb
View
@@ -22,6 +22,7 @@ def setup(options = {})
end
def start(options = {})
+ UI.clear if options[:clear]
setup(options)
Interactor.init_signal_traps
@@ -34,7 +35,6 @@ def start(options = {})
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

0 comments on commit 21f5a41

Please sign in to comment.