Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor reloader #1086
This is a bolder refactoring, so please let me know if it's not up to par. I wanted to make the reloader more readable and in doing such easier to build on. While it still could use some more TLC with more complex portions, I think this is a good starting point.
@DAddYE I couldn't think of a logical place to put the silence/unsilence methods so I created a Padrino::Utils class(in support_lite.rb). Since those are very generic methods. Unfortunately all the other refactored methods are tied to the reloader, but the refactoring should help with the reading of the code(Reloader is complex).