From ddba3eee45827237010802b9c453ca94f432c0aa Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 12 Feb 2014 18:01:48 +0000 Subject: [PATCH] Change guard-rspec config, don't run all after pass --- Guardfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 64014b3..9ca5f49 100644 --- a/Guardfile +++ b/Guardfile @@ -4,7 +4,7 @@ guard :cucumber, cli: '--format pretty --quiet' do watch(%r{\Afeatures/step_definitions/.+_steps\.rb\z}) { 'features' } 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{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' }