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

Skip to content

Commit c6e8662

Browse files
authored
fix: watch workspace agent logs (#17209)
1 parent a61c3e7 commit c6e8662

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
@@ -223,7 +223,10 @@ export const watchWorkspaceAgentLogs = (
223223
agentId: string,
224224
{ after, onMessage, onDone, onError }: WatchWorkspaceAgentLogsOptions,
225225
) => {
226-
const searchParams = new URLSearchParams({ after: after.toString() });
226+
const searchParams = new URLSearchParams({
227+
follow: "true",
228+
after: after.toString(),
229+
});
227230

228231
/**
229232
* WebSocket compression in Safari (confirmed in 16.5) is broken when

0 commit comments

Comments
 (0)