"github.com/bep/logg"
"github.com/gohugoio/hugo/bufferpool"
+ "github.com/gohugoio/hugo/cache/dynacache"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs/files"
resourceFiles := h.fileEventsContentPaths(addedOrChangedContent)
+ defer func() {
+ // See issue 13316.
+ h.MemCache.DrainEvictedIdentitiesMatching(func(ki dynacache.KeyIdentity) bool {
+ for _, c := range changes {
+ if c.IdentifierBase() == ki.Identity.IdentifierBase() {
+ return true
+ }
+ }
+ return false
+ })
+ }()
+
changed := &WhatChanged{
needsPagesAssembly: needsPagesAssemble,
identitySet: make(identity.Identities),