I've often wanted the ability to re-load included classes and modules in my sinatra apps, so I don't need to stop and start them.
Seems like putting "load 'filename.rb'" within a get / post block will work!
I've often wanted the ability to re-load included classes and modules in my sinatra apps, so I don't need to stop and start them.
Seems like putting "load 'filename.rb'" within a get / post block will work!