Skip to content

Commit 9b6067c

Browse files
fix: watch workspace agent logs (cherry-pick #17209) (#17210)
Cherry-picked fix: watch workspace agent logs (#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy