Class

Rack::Reloader

Inheritance
< Object

Rack::Reloader checks on every request, but at most every secs seconds, if a file loaded changed, and reloads it, logging to rack.errors.

It is recommended you use ShowExceptions to catch SyntaxErrors etc.

Methods

Class

Visibility Signature
public new (app, secs=10)

Instance

Visibility Signature
public call (env)
public reload! (stderr=$stderr)

Class Method Detail

new(app, secs=10)

Instance Method Detail

call(env)

reload!(stderr=$stderr)