write .jekyll-metadata even on full_rebuild
For a full rebuild, we certainly don't want to *read* from .jeykll-metadata, but we should still write it. Otherwise, a subsequent incremental build would have to do a full rebuild again since there is no metadata file to start from.
This commit is contained in:
parent
fa6981fb8c
commit
6e89c1c02b
|
@ -335,7 +335,7 @@ module Jekyll
|
|||
each_site_file { |item|
|
||||
item.write(dest) if regenerator.regenerate?(item)
|
||||
}
|
||||
regenerator.write_metadata unless full_rebuild?
|
||||
regenerator.write_metadata
|
||||
end
|
||||
|
||||
# Construct a Hash of Posts indexed by the specified Post attribute.
|
||||
|
|
Loading…
Reference in New Issue