Reload spork when config/routes.rb is modified

This commit is contained in:
Thibault Jouan 2011-09-06 20:45:36 +00:00
parent 7cda9a7458
commit d2f4ea59ff

View File

@ -1,6 +1,7 @@
guard 'spork', :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do guard 'spork', :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb') watch('config/application.rb')
watch('config/environment.rb') watch('config/environment.rb')
watch('config/routes.rb')
watch(%r{^config/environments/.+\.rb$}) watch(%r{^config/environments/.+\.rb$})
watch(%r{^config/initializers/.+\.rb$}) watch(%r{^config/initializers/.+\.rb$})
watch('spec/spec_helper.rb') watch('spec/spec_helper.rb')