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
Opening the graph from the ownership panel stopped its live updates.
Each panel installed the dev hooks itself, kept the hooks it found, and put
them back when it stopped. View in graph starts the graph and stops the
ownership panel in the same flush. The graph installed first, then the
ownership panel put back the hooks it had found earlier, which removed the
graph's hooks.
- A shared hub in `dev-hooks.ts` installs the hooks once and calls every listener. It still calls the hooks it found, and puts them back only when the last listener leaves.
- Both registries listen through the hub, so panels can start and stop in any order.
- Unit tests cover a listener that keeps working when an older one leaves, and the e2e test updates the app after the jump and checks the graph shows it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments