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