Rely on Webrick directly for preview, makes quick app reloading simple.
This commit is contained in:
parent
8fb4888f8c
commit
3412af346e
7 changed files with 212 additions and 229 deletions
|
@ -36,7 +36,7 @@ module Middleman
|
|||
# Register extension
|
||||
class << self
|
||||
# @private
|
||||
def included(app)
|
||||
def registered(app)
|
||||
# Using for version parsing
|
||||
require "rubygems"
|
||||
|
||||
|
@ -50,6 +50,7 @@ module Middleman
|
|||
app.send :include, InstanceMethods
|
||||
app.delegate :configure, :to => :"self.class"
|
||||
end
|
||||
alias :included :registered
|
||||
end
|
||||
|
||||
# Class methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue