Skip to content

Commit

Permalink
Build plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
gschier committed Jan 14, 2025
1 parent 8d645eb commit fdb4331
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-web/hooks/useTemplateFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function useSubscribeTemplateFunctions() {
// NOTE: visibilitychange (refetchOnWindowFocus) does not work on Windows, so we'll rely on this logic
// to refetch things until that's working again
// TODO: Update plugin system to wait for plugins to initialize before sending the first event to them
refetchInterval: numFns > 0 ? Infinity : 500,
refetchInterval: numFns > 0 ? Infinity : 1000,
refetchOnMount: true,
queryFn: async () => {
const result = await invokeCmd<GetTemplateFunctionsResponse[]>('cmd_template_functions');
Expand Down

0 comments on commit fdb4331

Please sign in to comment.