Commit Graph
2 Commits
Author SHA1 Message Date
puttaalu 25384d3f3b Rebuild on file renames so deletes take effect
The watcher only reacted to Create/Write/Remove. A /manage delete moves the
image and sidecar into content/.trash/, which on Linux arrives as a Rename
(inotify IN_MOVED_FROM), not a Remove — so the watcher never fired and the
delete left the published site unchanged (uploads worked because they Create
and Write). Watch Rename too, which also covers removing a photo with a manual
mv. The delete handler still triggers its own immediate rebuild; this makes the
watcher path agree with it.
2026-10-18 22:19:09 +02:00
puttaalu fd2828f1e7 Initial commit 2026-07-02 00:53:17 +02:00