Fix #1767
This commit is contained in:
parent
6077ae43e9
commit
2864902fa0
1 changed files with 8 additions and 6 deletions
|
@ -163,14 +163,16 @@ module Middleman
|
||||||
path: root,
|
path: root,
|
||||||
only: match_against
|
only: match_against
|
||||||
|
|
||||||
# Hack around node_modules in root.
|
unless config[:watcher_disable]
|
||||||
watcher.listener.ignore(/^node_modules/)
|
# Hack around node_modules in root.
|
||||||
|
watcher.listener.ignore(/^node_modules/)
|
||||||
|
|
||||||
# Hack around sass cache in root.
|
# Hack around sass cache in root.
|
||||||
watcher.listener.ignore(/^\.sass-cache/)
|
watcher.listener.ignore(/^\.sass-cache/)
|
||||||
|
|
||||||
# Hack around bundler cache in root.
|
# Hack around bundler cache in root.
|
||||||
watcher.listener.ignore(/^vendor\/bundle/)
|
watcher.listener.ignore(/^vendor\/bundle/)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue