Frage

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
War es hilfreich?

Lösung

See the documentation:

bundle exec guard --clear

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top