mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-06 15:14:21 +01:00
ci(e2e): start:e2e server before capturing
This commit is contained in:
@@ -39,11 +39,14 @@ export const routes = (app: HonoAppType) => {
|
||||
const fileWatcher = getFileWatcher();
|
||||
const eventBus = getEventBus();
|
||||
|
||||
fileWatcher.startWatching();
|
||||
// biome-ignore lint/complexity/useLiteralKeys: env var
|
||||
if (process.env["NEXT_PHASE"] !== "phase-production-build") {
|
||||
fileWatcher.startWatching();
|
||||
|
||||
setInterval(() => {
|
||||
eventBus.emit("heartbeat", {});
|
||||
}, 10 * 1000);
|
||||
setInterval(() => {
|
||||
eventBus.emit("heartbeat", {});
|
||||
}, 10 * 1000);
|
||||
}
|
||||
|
||||
return (
|
||||
app
|
||||
|
||||
Reference in New Issue
Block a user