Closed duncan-bayne closed 11 years ago
Thanks for the details, it helps to solve the problem!
The issue is just that in your config guard-shotgun is not watching your config.ru
file, it will only reload when something you mark as watched is changed.
Make this your guard-shotgun config and your issue is gone:
guard 'shotgun', :server => 'thin' do
watch %r{^(app|lib|config)/.*\.rb}
watch 'config.ru'
end
I'll however update the README to include this. Thanks!
If I raise an unhandled exception in my service code, guard-shotgun fails to respond to further changes to the code.
E.g. the following sequence of events:
config.ru
raise an exceptionconfig.ru
... should (I think) cause the server to restart with the fixed code from step 3. However, it doesn't:
The failing
config.ru
is: