(config)
| 129 | // start() now handles EADDRINUSE and returns the actual port |
| 130 | devtoolsPort = await bus.start() |
| 131 | if ((server as any).environments) { |
| 132 | const teardownBridge = wireRuntimeBridgeChannels( |
| 133 | server as unknown as Parameters< |
| 134 | typeof wireRuntimeBridgeChannels |
| 135 | >[0], |
| 136 | () => globalThis.__TANSTACK_EVENT_TARGET__, |