Skip to content

Instantly share code, notes, and snippets.

@simonjefford
Created November 24, 2011 13:09
Show Gist options
  • Save simonjefford/1391309 to your computer and use it in GitHub Desktop.
Save simonjefford/1391309 to your computer and use it in GitHub Desktop.
guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb')
watch('config/environment.rb')
watch(%r{^config/environments/.+\.rb$})
watch(%r{^config/initializers/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb')
watch('test/test_helper.rb')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment