Skip to content

Instantly share code, notes, and snippets.

@sandersch
Forked from anonymous/Guardfile
Created December 17, 2012 01:51
Show Gist options
  • Save sandersch/4315231 to your computer and use it in GitHub Desktop.
Save sandersch/4315231 to your computer and use it in GitHub Desktop.
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment