forked from berkmancenter/lumendatabase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGuardfile
24 lines (22 loc) · 763 Bytes
/
Guardfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
ignore /public\/system/
watch('config/application.rb')
watch('config/environment.rb')
watch('config/environments/test.rb')
watch('config/routes.rb')
watch(%r{^config/initializers/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb') { :rspec }
watch('spec/factories.rb')
watch(%r{^lib/.+\.rb$})
# These models do not have edits picked up and therefore require a
# restart of guard when changed.
watch('app/models/ability.rb')
watch('app/models/notice.rb')
watch('app/models/searchability.rb')
watch('app/models/search_results_proxy.rb')
watch('app/models/user.rb')
end