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:
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user