()
| 429 | log(`file: ${bridge.file}${existsSync(bridge.file) ? '' : ' (not there yet, waiting)'}`); |
| 430 | log(`events read: ${bridge.state.events.length}, unreadable lines: ${bridge.state.unreadable}`); |
| 431 | const stop = () => { |
| 432 | void bridge.close().then(() => process.exit(0)); |
| 433 | }; |
| 434 | process.on('SIGINT', stop); |
| 435 | process.on('SIGTERM', stop); |
| 436 | }).catch((error) => { |