Commit 34deefc
Revert dev ribbon to mount-time-only; drop the vite:afterUpdate self-subscription
The "true last build" version subscribed to import.meta.hot.on(
'vite:afterUpdate', ...) from App.tsx -- the same file that keeps
getting hot-edited during normal iteration. React Fast Refresh didn't
reliably clean up the old listener across repeated hot-swaps of that
module, and the ribbon started ticking every second in the real
desktop app (confirmed via ps/lsof this wasn't a stale-tab/stale-process
issue -- a fresh Playwright tab against the same live dev server showed
it static). Not worth chasing further for a dev-convenience ribbon.
Back to capturing the timestamp once per mount, which is correct for
the case that actually matters (a Go-triggered relaunch forces a fresh
mount) and can't have this bug class at all.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7zUjYuMtgetjNaxMQPg2h1 parent 0a731a3 commit 34deefc
2 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
383 | 398 | | |
384 | 399 | | |
385 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments