From 651b5fc1c3fe8f8cbf9e3d756a2e1b35250a5c52 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Mon, 11 May 2015 09:24:22 -0700 Subject: [PATCH] Merge old patch to address #1430 --- middleman-core/lib/middleman-core/preview_server.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/middleman-core/lib/middleman-core/preview_server.rb b/middleman-core/lib/middleman-core/preview_server.rb index 068c9334..27152706 100644 --- a/middleman-core/lib/middleman-core/preview_server.rb +++ b/middleman-core/lib/middleman-core/preview_server.rb @@ -81,6 +81,10 @@ module Middleman end unmount_instance + + @webrick.shutdown + @webrick = nil + mount_instance(app) logger.info '== The Middleman has reloaded'