Fix file watcher by referencing the right list of paths

This commit is contained in:
Ben Hollis 2012-05-19 23:05:06 -07:00
parent 7598165909
commit e766e753e8

View file

@ -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