Guardfile in new-0.0.6 vs Guardfile in new-0.0.7
- old
+ new
@@ -4,11 +4,13 @@
guard :bundler do
watch('Gemfile')
end
-guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec' do
+guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec doc spec tasks ~/.new/tasks' do
watch(%r{^spec/.+_spec\.rb$})
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
- watch('spec/spec_helper.rb') { 'spec' }
- watch('.rspec') { 'spec' }
+ watch(%r{^tasks/.+_spec\.rb$})
+ watch(%r{^tasks/(.+[^_spec])\.rb$}) { |m| "tasks/#{m[1]}_spec.rb" }
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { 'spec' }
+ watch('.rspec') { 'spec' }
end