Skip to content

Instantly share code, notes, and snippets.

@chiastolite
Created January 23, 2013 06:37
Show Gist options
  • Save chiastolite/4602631 to your computer and use it in GitHub Desktop.
Save chiastolite/4602631 to your computer and use it in GitHub Desktop.
guard 'rspec' 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