summaryrefslogtreecommitdiff
path: root/Guardfile
blob: 191a66a24c87850162fb54a57402abf8ffe98c32 (plain)
1
2
3
4
5
guard 'rspec', all_on_start: false, cmd: 'bundle exec rspec' do
  watch(/^spec\/.+_spec\.rb/)
  watch(/^lib\/(.+)\.rb/)     { |m| "spec/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb') { 'spec' }
end