From ac4a6da9057fe011991a2f791b5e7ff22b6678b5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 09:57:28 +0200 Subject: docs: sed -i breaks hot reload sed -i renames a new file over the old one, and quickshell's watch on the old file dies with it. The autostart glyph fix went in that way and the running shell never reloaded: the log showed no reload after the edit, and a content change to shell.qml brought the glyph up. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index c54d5bc..b8ef844 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -472,6 +472,12 @@ shell looked current and was not: a remote Markdown image the new filter blocks was fetched anyway. After editing anything under `shared/`, force a reload of every component that links it, the same way as above. +Hot reload does **not** survive a file being replaced rather than written. +`sed -i` writes a new file and renames it over the old one, and the watch on +the old one dies with it: an autostart glyph fixed that way stayed blank in +the running shell, with no reload in the log after the edit. Edit in place +(an editor, the agent's Edit tool), or force a reload as above afterwards. + `qs -p ` runs one directly. `qs -p ipc call ` reaches a running one, which is how `SUPER+v` opens the VM drawer. -- cgit v1.2.3