mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
hugolib: Re-work "fast render" logic in the new flow
Note that this fixes some "live reload" issues recently introduced in non-released code. Closes #5811 See #5784
This commit is contained in:
@@ -288,10 +288,8 @@ func (h *HugoSites) render(config *BuildCfg) error {
|
||||
// needs this set.
|
||||
s2.rc = &siteRenderingContext{Format: renderFormat}
|
||||
|
||||
if !config.PartialReRender {
|
||||
if err := s2.preparePagesForRender(siteRenderContext.sitesOutIdx); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := s2.preparePagesForRender(siteRenderContext.sitesOutIdx); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user