diff --git a/middleman-core/lib/middleman-core/preview_server.rb b/middleman-core/lib/middleman-core/preview_server.rb index 7296712c..af6537ef 100644 --- a/middleman-core/lib/middleman-core/preview_server.rb +++ b/middleman-core/lib/middleman-core/preview_server.rb @@ -124,7 +124,7 @@ module Middleman end # Don't block this thread - @listener.start(false) if first_run + @listener.start if first_run end # Trap some interupt signals and shut down smoothly diff --git a/middleman-core/lib/middleman-core/templates/shared/Gemfile.tt b/middleman-core/lib/middleman-core/templates/shared/Gemfile.tt index 3903b586..5e377245 100644 --- a/middleman-core/lib/middleman-core/templates/shared/Gemfile.tt +++ b/middleman-core/lib/middleman-core/templates/shared/Gemfile.tt @@ -5,7 +5,7 @@ source 'http://rubygems.org' gem "middleman", "~><%= Middleman::VERSION %>" # Live-reloading plugin -gem "middleman-livereload" +gem "middleman-livereload", "~> 3.1.0" # For faster file watcher updates: # gem "rb-fsevent", "~> 0.9.3") # OS X