Rely on Webrick directly for preview, makes quick app reloading simple.

This commit is contained in:
Thomas Reynolds 2012-05-19 16:49:44 -07:00
parent 8fb4888f8c
commit 3412af346e
7 changed files with 212 additions and 229 deletions

View file

@ -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