문제

Looking for a way to clear the terminal when a new test result appears. I now feel cluttered in having the new test results appended before clearing the old tests. Any way to have it done?

My guard file:

guard :rspec do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end
도움이 되었습니까?

해결책

See the documentation:

bundle exec guard --clear

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top