feature/domain-checker v4.1.0.rc.2
Thomas Reynolds 2016-01-20 10:02:19 -08:00
parent 6077ae43e9
commit 2864902fa0
1 changed files with 8 additions and 6 deletions

View File

@ -163,14 +163,16 @@ module Middleman
path: root,
only: match_against
# Hack around node_modules in root.
watcher.listener.ignore(/^node_modules/)
unless config[:watcher_disable]
# Hack around node_modules in root.
watcher.listener.ignore(/^node_modules/)
# Hack around sass cache in root.
watcher.listener.ignore(/^\.sass-cache/)
# Hack around sass cache in root.
watcher.listener.ignore(/^\.sass-cache/)
# Hack around bundler cache in root.
watcher.listener.ignore(/^vendor\/bundle/)
# Hack around bundler cache in root.
watcher.listener.ignore(/^vendor\/bundle/)
end
end
end