summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-16 14:24:35 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-16 19:05:18 +0100
commit68f67c9aebfeb63aa12d69e86b1d652d6ce63ce0 (patch)
treea3231ec1e542c9f44d29fcb805bb9804ea5c0bb0 /hugolib/hugo_sites_build.go
parent43ea2cd660a9052f45729e1a1d7dbc68c1d08440 (diff)
Fix rebuild regression on non-default content language edits
Fixes #12043
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go
index 17a3f0056..aa43d541a 100644
--- a/hugolib/hugo_sites_build.go
+++ b/hugolib/hugo_sites_build.go
@@ -702,7 +702,7 @@ func (h *HugoSites) processPartial(ctx context.Context, l logg.LevelLogger, conf
switch pathInfo.Component() {
case files.ComponentFolderContent:
logger.Println("Source changed", pathInfo.Path())
- if ids := h.pageTrees.collectIdentities(pathInfo); len(ids) > 0 {
+ if ids := h.pageTrees.collectAndMarkStaleIdentities(pathInfo); len(ids) > 0 {
changes = append(changes, ids...)
}