Guardfile in yaoc-0.0.4 vs Guardfile in yaoc-0.0.5
- old
+ new
@@ -4,9 +4,11 @@
guard :rspec, all_after_pass: true ,
all_on_start: true do
watch(%r{^spec/.+_spec\.rb$})
+ watch('lib/yaoc.rb') { "spec" }
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/unit/lib/#{m[1]}_spec.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/integration/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }