Fix webrick reloading on new ruby
This commit is contained in:
parent
c97c65d655
commit
a9056d0e25
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue