You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stache watcher ignores file changes made between a Stache warm and the first request #15780
After php please stache:refresh, any change to a content file made before the next request is never picked up by the watcher. The old content is served indefinitely until the Stache is refreshed again.
Store::clear() forgets stache::timestamps::{store}, and warm() doesn't write it back. The first call to handleFileChanges() then finds no existing timestamps, caches the current filesystem state as the baseline, and returns early ("If there are no existing file timestamps in the cache, there's nothing to update"). Whatever changed since the warm is now part of the baseline and never compared.
This is easy to hit locally: refresh the Stache, git pull content edited elsewhere, then load a page.
Possible fix (untested)
paths() already traverses the filesystem when it builds the path index. It could cache the timestamps from that same traversal, so the watcher's baseline matches what was indexed:
Activity
AlexJFox commentedon Nov 4, 2026
Yes this is a Claude-found bug don't @ me 😢