move reloader to custom extensions

This commit is contained in:
Konstantin Haase 2011-04-26 14:27:22 +02:00
parent ff664dbfb7
commit 6207962fc1
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,6 @@ module Sinatra
# or breaks if external dependencies are missing. Will extend
# Sinatra::Application by default.
module Common
register :Reloader
register :ConfigFile
register :Namespace
register :RespondWith
@ -23,6 +22,7 @@ module Sinatra
module Custom
# register :Compass
register :Decompile
register :Reloader
end
##

View File

@ -1,3 +1,5 @@
require 'sinatra/base'
module Sinatra
# Extension to reload modified files. In the development
# environment, it will automatically require files defining routes