Commit 626c231
1. Re-check `_plugin.has_method("force_restart_or_start_dev_server")`
after the 0.15s await in `_perform_dev_restart_after_feedback`. A
self-update mixed-state could swap the plugin script class while we
were sleeping, leaving the old reference pointing at a class that no
longer carries the new method. Same #168 guard pattern other dock
helpers use.
2. Switch the dev primary button's "Restarting…" / "respawning…" labels
to "Restarting..." / "respawning..." (three ASCII dots) to match the
sibling _crash_restart_btn / _version_restart_btn / status text
already in this file. Tests assert on the substring "Restarting" so
they're unaffected.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 65c743a commit 626c231
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | | - | |
| 1358 | + | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1362 | 1366 | | |
1363 | 1367 | | |
1364 | 1368 | | |
| |||
1385 | 1389 | | |
1386 | 1390 | | |
1387 | 1391 | | |
1388 | | - | |
1389 | | - | |
| 1392 | + | |
| 1393 | + | |
1390 | 1394 | | |
1391 | 1395 | | |
1392 | 1396 | | |
| |||
0 commit comments