1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

fix manual sitemap updates on ruby 1.9

This commit is contained in:
Thomas Reynolds 2012-01-06 00:11:38 -08:00
parent 3e1814e046
commit 8de087ec65

View file

@ -106,7 +106,7 @@ module Middleman::CoreExtensions::FileWatcher
relative_path = path.sub("#{self.instance.root}/", "")
subset.delete(relative_path) if subset.include?(relative_path)
self.did_change(relative_path)
end
end if File.exists?(path)
subset.each do |removed_path|
self.did_delete(removed_path)