Skip to content

Instantly share code, notes, and snippets.

@mhenrixon
Created January 28, 2013 22:32
Show Gist options
  • Save mhenrixon/4659912 to your computer and use it in GitHub Desktop.
Save mhenrixon/4659912 to your computer and use it in GitHub Desktop.
guard 'spork', rspec_env: { 'RAILS_ENV' => 'test' }, cucumber: false, test_unit: false, wait: 60 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') { :rspec }
watch('test/test_helper.rb') { :test_unit }
watch(%r{features/support/}) { :cucumber }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment