GreenStepsChatt / greensteps

This is the web app for Green Steps, a community focused initiative that incentivizes litter cleanup in the Chattanooga area.
https://www.greenstepschatt.com/
MIT License
12 stars 31 forks source link

Spring doesn't reload `CustomFailure` when changes are made #94

Closed crawfoal closed 6 years ago

crawfoal commented 6 years ago

CustomFailure is a Warden failure app. I think people typically put these in the lib folder, but I felt like it belonged in the controllers folder. I think it's pretty easy to tell Spring to watch a specific file for changes, I'm just not sure why it isn't watching this file already since it is in the controllers folder... maybe because it doesn't end in _controller?

crawfoal commented 6 years ago

This is our problem: https://github.com/rails/spring#class-reloading

Only that is how Devise tells you to configure the custom failure app, so I'm not sure there's much we can do about it.