Guardfile in basket-0.0.2 vs Guardfile in basket-0.0.3

- old
+ new

@@ -13,23 +13,23 @@ # $ mv Guardfile config/ # $ ln -s config/Guardfile . # # and, you'll have to watch "config/Guardfile" instead of "Guardfile" -# Note: The cmd option is now required due to the increasing number of ways +# NOTE: The cmd option is now required due to the increasing number of ways # rspec may be run, below are examples of the most common uses. # * bundler: 'bundle exec rspec' # * bundler binstubs: 'bin/rspec' # * spring: 'bin/rspec' (This will use spring if running and you have # installed the spring binstubs per the docs) # * zeus: 'zeus rspec' (requires the server to be started separately) # * 'just' rspec: 'rspec' group "specs", halt_on_fail: true do - guard :rspec, all_on_start: false, cmd: "rspec" do + guard :rspec, all_on_start: true, all_after_pass: true, cmd: "rspec" do watch(%r{^spec/.+_spec\.rb$}) - watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } - watch("spec/spec_helper.rb") { "spec/lib" } + watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } + watch("spec/spec_helper.rb") { "spec/" } end guard :standardrb, fix: true, all_on_start: true, progress: true do watch(/.+\.rb$/) end