Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

revert: always rebuild frontend, override caching with _NEED_FRONTEND_BUILD=true (#4427)

Daniel Han7ddb660b0c7e
diff --git a/studio/setup.ps1 b/studio/setup.ps1
index 3930ad686ec..c768c066afd 100644
--- a/studio/setup.ps1
+++ b/studio/setup.ps1
@@ -855,6 +855,7 @@ if ($IsPipInstall) {
Write-Host "[INFO] Frontend source changed since last build -- rebuilding..." -ForegroundColor Yellow
}
}
+$NeedFrontendBuild = $true
if ($NeedFrontendBuild -and -not $IsPipInstall) {
Write-Host ""
Write-Host "Building frontend..." -ForegroundColor Cyan
diff --git a/studio/setup.sh b/studio/setup.sh
index bc9b563be1f..02c49afc15b 100755
--- a/studio/setup.sh
+++ b/studio/setup.sh
@@ -59,6 +59,7 @@ if [ -d "$SCRIPT_DIR/frontend/dist" ]; then
_NEED_FRONTEND_BUILD=false
fi
fi
+_NEED_FRONTEND_BUILD=true
if [ "$_NEED_FRONTEND_BUILD" = false ]; then
echo "✅ Frontend already built and up to date -- skipping Node/npm check."
else