diff --git a/Guardfile b/Guardfile index 0f239c9..a065441 100644 --- a/Guardfile +++ b/Guardfile @@ -1,8 +1,9 @@ group :specs do guard :rspec, :cli => '--format doc' do watch(%r{^spec/.+_spec\.rb$}) - watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } - watch('spec/spec_helper.rb') { "spec" } + watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } + watch('spec/support/listener_helper.rb') { Dir.glob("spec/guard/listeners/*") } + watch('spec/spec_helper.rb') { "spec" } end end