From a22a504685226d23cca79cb08df4f6d8849ffa47 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Thu, 13 Feb 2014 23:18:43 +0000 Subject: [PATCH] Change guard-rspec config for support files --- Guardfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Guardfile b/Guardfile index 9ca5f49..d13a73e 100644 --- a/Guardfile +++ b/Guardfile @@ -6,6 +6,7 @@ end 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' } + watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" } + watch('spec/spec_helper.rb') { 'spec' } + watch(%r{\Aspec/support/.+\.rb\z}) { 'spec' } end