Merge remote-tracking branch 'middleman/master'

This commit is contained in:
FearGoidte 2016-01-28 08:18:25 +00:00
commit 13c351f2bf

View file

@ -151,6 +151,7 @@ module Middleman
config[:ssl_private_key] = opts[:ssl_private_key] if opts[:ssl_private_key]
ready do
unless config[:watcher_disable]
match_against = [
%r{^config\.rb$},
%r{^environments/[^\.](.*)\.rb$},
@ -163,7 +164,6 @@ module Middleman
path: root,
only: match_against
unless config[:watcher_disable]
# Hack around node_modules in root.
watcher.listener.ignore(/^node_modules/)