Trigger all listener specs when listener_helper.rb is changed.
This commit is contained in:
parent
b00c850ef8
commit
83b1c9f787
@ -2,6 +2,7 @@ group :specs do
|
|||||||
guard :rspec, :cli => '--format doc' do
|
guard :rspec, :cli => '--format doc' do
|
||||||
watch(%r{^spec/.+_spec\.rb$})
|
watch(%r{^spec/.+_spec\.rb$})
|
||||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
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" }
|
watch('spec/spec_helper.rb') { "spec" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user