()
| 282 | } |
| 283 | |
| 284 | const scheduleZedPoll = () => { |
| 285 | if (closed) return |
| 286 | if (reconnect) clearTimeout(reconnect) |
| 287 | reconnect = setTimeout(connect, 1000) |
| 288 | } |
| 289 | |
| 290 | const reconnectWithDirectory = (nextDirectory?: string) => { |
| 291 | const resolved = nextDirectory || paths.cwd |