# A sample Guardfile # More info at github.com/guard/guard#readme
guard :bundler do
watch('Gemfile') # Uncomment next line if your Gemfile contains the `gemspec' command. # watch(/^.+\.gemspec/)
end
guard :rspec, cmd: “bundle exec rspec” do
watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/.+/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" }
end