Skip to content

Instantly share code, notes, and snippets.

@akatz
Last active December 11, 2015 04:09
Show Gist options
  • Save akatz/4543027 to your computer and use it in GitHub Desktop.
Save akatz/4543027 to your computer and use it in GitHub Desktop.
Guardfile
guard 'rspec', :cli => "--color --format nested", :notification => true do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment