Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d9312f

Browse files
authored
fix: watch workspace agent logs (#17209)
1 parent a444273 commit 7d9312f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/api/api.ts

+4-1
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)