Fix server rebuilds when adding a content file on Linux

Fixes #12362
This commit is contained in:
Bjørn Erik Pedersen
2024-04-16 09:32:08 +02:00
parent fe63de3a83
commit fa60a2fbc3
4 changed files with 91 additions and 33 deletions

View File

@@ -610,7 +610,7 @@ func (h *HugoSites) processPartial(ctx context.Context, l logg.LevelLogger, conf
// For a list of events for the different OSes, see the test output in https://github.com/bep/fsnotifyeventlister/.
events = h.fileEventsFilter(events)
events = h.fileEventsTranslate(events)
events = h.fileEventsTrim(events)
eventInfos := h.fileEventsApplyInfo(events)
logger := h.Log