Speed up builds: drop redundant --force, explicit data-store deletion is sufficient
This commit is contained in:
+1
-1
@@ -612,7 +612,7 @@ async def rebuild(user: User = Depends(require_auth)) -> JSONResponse:
|
||||
except Exception:
|
||||
pass
|
||||
proc = await asyncio.create_subprocess_exec(
|
||||
"npm", "run", "build", "--", "--force",
|
||||
"npm", "run", "build",
|
||||
cwd=site_dir,
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user