move reloader to custom extensions
This commit is contained in:
parent
ff664dbfb7
commit
6207962fc1
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue