Change guard-rspec config, don't run all after pass

This commit is contained in:
Thibault Jouan 2014-02-12 18:01:48 +00:00
parent dbb4bed4e8
commit ddba3eee45

View File

@ -4,7 +4,7 @@ guard :cucumber, cli: '--format pretty --quiet' do
watch(%r{\Afeatures/step_definitions/.+_steps\.rb\z}) { 'features' } watch(%r{\Afeatures/step_definitions/.+_steps\.rb\z}) { 'features' }
end end
guard :rspec, cmd: 'rspec -f doc', all_after_pass: true do guard :rspec, cmd: 'rspec -f doc' do
watch(%r{\Aspec/.+_spec\.rb\z}) watch(%r{\Aspec/.+_spec\.rb\z})
watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { 'spec' } watch('spec/spec_helper.rb') { 'spec' }