diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-17 09:57:28 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-17 09:57:28 +0200 |
| commit | ac4a6da9057fe011991a2f791b5e7ff22b6678b5 (patch) | |
| tree | 58e4255de1260fdb0983a97722a01f019e907ebf /AGENTS.md | |
| parent | d83b1fb7b1336389d7965af75a88912ff2fafbb8 (diff) | |
| download | quickshell-ac4a6da9057fe011991a2f791b5e7ff22b6678b5.tar.gz quickshell-ac4a6da9057fe011991a2f791b5e7ff22b6678b5.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 <dir>` runs one directly. `qs -p <dir> ipc call <target> <fn>` reaches a running one, which is how `SUPER+v` opens the VM drawer. |
