(value: string)
| 138 | if (!pane) return; |
| 139 | const logPath = path.join(findRepoRoot(), 'dev', 'logs', `${serviceName}.log`); |
| 140 | fs.mkdirSync(path.dirname(logPath), { recursive: true }); |
| 141 | fs.closeSync(fs.openSync(logPath, 'a')); |
| 142 | if (isLogFilterRunning(logPath)) return; |
| 143 | // `pipe-pane -o` is a no-op while tmux still thinks a pipe exists, including |
| 144 | // after the filter process has exited. Close first, then attach a new one. |
| 145 | closePipePane(sessionName, pane.windowIndex, pane.paneIndex); |
no test coverage detected