Skip to content

Commit 9b6067c

Browse files
fix: watch workspace agent logs (cherry-pick coder#17209) (coder#17210)
Cherry-picked fix: watch workspace agent logs (coder#17209) Co-authored-by: Asher <ash@coder.com>
1 parent a444273 commit 9b6067c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/api/api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,10 @@ export const watchWorkspaceAgentLogs = (
243243
agentId: string,
244244
{ after, onMessage, onDone, onError }: WatchWorkspaceAgentLogsOptions,
245245
) => {
246-
const searchParams = new URLSearchParams({ after: after.toString() });
246+
const searchParams = new URLSearchParams({
247+
follow: "true",
248+
after: after.toString(),
249+
});
247250

248251
/**
249252
* WebSocket compression in Safari (confirmed in 16.5) is broken when

0 commit comments

Comments
 (0)