diff --git a/packages/app/src/hooks/use-git-diff-query.ts b/packages/app/src/hooks/use-git-diff-query.ts index 9ce2c5e0d..6d89cbf76 100644 --- a/packages/app/src/hooks/use-git-diff-query.ts +++ b/packages/app/src/hooks/use-git-diff-query.ts @@ -34,6 +34,7 @@ export function useGitDiffQuery({ serverId, agentId }: UseGitDiffQueryOptions) { }, enabled: !!ws && ws.isConnected && !!agentId, staleTime: GIT_DIFF_STALE_TIME, + refetchInterval: 10_000, }); // Revalidate when sidebar opens with "changes" tab active