Guardfile in cistern-0.6.0 vs Guardfile in cistern-0.7.0
- old
+ new
@@ -1,5 +1,11 @@
-guard 'rspec', cmd: 'bundle exec rspec' do
+guard :bundler do
+ watch('Gemfile')
+ # Uncomment next line if your Gemfile contains the `gemspec' command.
+ watch(/^.+\.gemspec/)
+end
+
+guard 'rspec', all_on_start: true, all_after_pass: true, cmd: 'bundle exec rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { "spec" }
watch('spec/spec_helper.rb') { "spec" }
end