Fix webrick reloading on new ruby
This commit is contained in:
parent
c97c65d655
commit
a9056d0e25
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ module Middleman
|
|||
end
|
||||
|
||||
unmount_instance
|
||||
|
||||
@webrick.shutdown
|
||||
@webrick = nil
|
||||
|
||||
mount_instance(app)
|
||||
|
||||
logger.info '== The Middleman has reloaded'
|
||||
|
|
Loading…
Reference in a new issue