(logPath: string)
| 133 | } |
| 134 | } |
| 135 | |
| 136 | export function ensureServiceLogPipe(sessionName: string, serviceName: string): void { |
| 137 | const pane = findServicePane(sessionName, serviceName); |
| 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')); |
no test coverage detected