I´m using guard-yard to automatically run YARD. However the output it has is really annoying and makes it hard to read the RSpec output (which is more interresting).
guard 'yard' do
watch(%r{app/.+\.rb})
watch(%r{lib/.+\.rb})
watch(%r{ext/.+\.c})
end
Q. How do I silence the output of this Guard plugin?
Option 1: You may want to only run Yard if the tests pass:
or ...
Option 2: you may prefer to just skip yard when you're focused on RSpec:
and limit guard to just running rspec
bundle exec guard -g rspec
Option 3: use the
scope
command to switch between groups/pluginsYou can also use the
scope
command in the Pry interactor to tell Guard what you're interested in running, e.g.