Fix webrick reloading on new ruby

This commit is contained in:
Thomas Reynolds 2015-05-02 13:48:47 -07:00
parent c97c65d655
commit a9056d0e25

View file

@ -71,6 +71,10 @@ module Middleman
end end
unmount_instance unmount_instance
@webrick.shutdown
@webrick = nil
mount_instance(app) mount_instance(app)
logger.info '== The Middleman has reloaded' logger.info '== The Middleman has reloaded'