File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 44
55Add ` wait ` command and connection health tracking
66
7- ** ` wait ` command**
8-
9- Block until a condition is met, with ` --timeout ` (default 30s) and non-zero exit on timeout:
10-
11- - ` wait --connected ` — block until a React app connects via WebSocket
12- - ` wait --component <name> ` — block until a component with the given name appears in the tree
13-
14- ** Connection health in ` status ` **
15-
16- - Track connect, disconnect, and reconnect events with timestamps
17- - Show last connection event in ` status ` output (e.g. "app reconnected 3s ago")
7+ - ` wait --connected ` — block until a React app connects
8+ - ` wait --component <name> ` — block until a named component appears in the tree
9+ - Both support ` --timeout ` (default 30s) and exit non-zero on timeout
10+ - Show last connection event in ` status ` (e.g. "app reconnected 3s ago")
1811- Show contextual hint when ` get tree ` returns empty after a disconnect
You can’t perform that action at this time.
0 commit comments