Start git without a console window on Windows, and run one reload at a time
ci / check (push) Successful in 2m27s
release / release (push) Successful in 11m52s

This commit was merged in pull request #3.
This commit is contained in:
2026-10-15 12:14:01 +02:00
parent e6c70554f3
commit 394d92e756
2 changed files with 18 additions and 6 deletions
+7
View File
@@ -105,11 +105,18 @@ function startDrag(e: PointerEvent, axis: "x" | "y") {
let filtersLoadedFor: string | null = null;
let loading = false;
async function load() {
// The window gets focus often; one reload at a time is enough.
if (loading) return;
loading = true;
try {
await applyRepo(await invoke<RepoData>("load_repo"));
} catch (e) {
error.value = String(e);
} finally {
loading = false;
}
}