From c55485a8ee838f8700a0b8e3f32e258575a5731a Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 1 Apr 2025 16:59:07 -0800 Subject: [PATCH] fix: not watching workspace agent logs --- site/src/api/api.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/src/api/api.ts b/site/src/api/api.ts index 3a43772a02657..5005a03faafa7 100644 --- a/site/src/api/api.ts +++ b/site/src/api/api.ts @@ -223,7 +223,10 @@ export const watchWorkspaceAgentLogs = ( agentId: string, { after, onMessage, onDone, onError }: WatchWorkspaceAgentLogsOptions, ) => { - const searchParams = new URLSearchParams({ after: after.toString() }); + const searchParams = new URLSearchParams({ + follow: "true", + after: after.toString(), + }); /** * WebSocket compression in Safari (confirmed in 16.5) is broken when