Browse Source

wip: desktop work

Adam 3 months ago
parent
commit
984fe4b769
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packages/desktop/src/context/local.tsx

+ 4 - 4
packages/desktop/src/context/local.tsx

@@ -332,10 +332,10 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
             }
             break
           case "file.watcher.updated":
-            setTimeout(sync.load.changes, 1000)
-            const relativePath = relative(event.properties.file)
-            if (relativePath.startsWith(".git/")) return
-            load(relativePath)
+            // setTimeout(sync.load.changes, 1000)
+            // const relativePath = relative(event.properties.file)
+            // if (relativePath.startsWith(".git/")) return
+            // load(relativePath)
             break
         }
       })