Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: update scripts now build UI assets before restarting PM2
Adam Eivy76277f404939
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdnew file mode 100644index 0000000000..58350f5fda--- /dev/null+++ b/.changelog/NEXT.md@@ -0,0 +1,10 @@+# Unreleased Changes++## Added++## Changed++## Fixed+- Update scripts (update.sh/update.ps1) now build UI assets before restarting PM2, ensuring production serves the latest client build++## Removeddiff --git a/update.ps1 b/update.ps1index 97e3626bd9..90bfa10b25 100644--- a/update.ps1+++ b/update.ps1@@ -64,6 +64,12 @@ Write-Host ""node scripts/setup-ghostty.jsWrite-Host ""+# Build UI assets for production serving+Write-Host "Building UI assets..." -ForegroundColor Yellow+npm run build+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }+Write-Host ""+# Restart PM2 appsWrite-Host "Restarting PortOS..." -ForegroundColor Yellownpm run pm2:restartdiff --git a/update.sh b/update.shindex 37f7e9a5b7..a844bfb689 100755--- a/update.sh+++ b/update.sh@@ -61,6 +61,11 @@ echo ""node scripts/setup-ghostty.jsecho ""+# Build UI assets for production serving+echo "Building UI assets..."+npm run build+echo ""+# Restart PM2 appsecho "Restarting PortOS..."npm run pm2:restart