Build plugins

This commit is contained in:
Gregory Schier
2025-01-14 11:03:15 -08:00
parent 8d645eb8c6
commit fdb4331032
3 changed files with 3 additions and 2 deletions

View File

@@ -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');