Speed up builds: drop redundant --force, explicit data-store deletion is sufficient

This commit is contained in:
brutsalvadi
2026-05-10 16:51:49 +02:00
parent d07ef3d2f3
commit cec19a7203
+1 -1
View File
@@ -612,7 +612,7 @@ async def rebuild(user: User = Depends(require_auth)) -> JSONResponse:
except Exception: except Exception:
pass pass
proc = await asyncio.create_subprocess_exec( proc = await asyncio.create_subprocess_exec(
"npm", "run", "build", "--", "--force", "npm", "run", "build",
cwd=site_dir, cwd=site_dir,
stdout=asyncio.subprocess.PIPE, stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE,