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