From 356d7787463bafcbda17249a3fbb5b5b43fd7f5e Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 8 Jan 2014 21:36:50 +0000 Subject: [PATCH] Improve guard-rspec config (fail-fast and restart all) --- Guardfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 69ce105..64014b3 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 do +guard :rspec, cmd: 'rspec -f doc', all_after_pass: true do watch(%r{\Aspec/.+_spec\.rb\z}) watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' }