This class acts as a Rack middleware to be added to the application stack. This middleware performs a check and reload for source files at the start of each request, but also respects a specified cool down time during which no further action will be taken.
#call(env) ⇒ ObjectInvoked in order to perform the reload as part of the request stack.
#initialize(app, cooldown = 1) ⇒ Rackconstructor A new instance of Rack.
Returns a new instance of Rack
Invoked in order to perform the reload as part of the request stack.
© 2010–2016 Padrino
Licensed under the MIT License.