diff options
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..6851230 --- /dev/null +++ b/Guardfile @@ -0,0 +1,5 @@ +guard 'rspec' do + watch(%r{^spec/.+_spec\.rb}) + watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" } + watch('spec/spec_helper.rb') { "spec" } +end |