Fix file watcher by referencing the right list of paths
This commit is contained in:
parent
7598165909
commit
e766e753e8
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ module Middleman
|
||||||
return reload if needs_to_reload?(added_and_modified)
|
return reload if needs_to_reload?(added_and_modified)
|
||||||
|
|
||||||
# Otherwise forward to Middleman
|
# Otherwise forward to Middleman
|
||||||
paths.each do |path|
|
added_and_modified.each do |path|
|
||||||
@app.files.did_change(path)
|
@app.files.did_change(path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue