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:
parent
3e1814e046
commit
8de087ec65
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue