change to pm2 deploy command to start if not already running

This commit is contained in:
2026-02-28 14:18:42 -06:00
parent 18401dd07c
commit f574fdc2d9
+1 -1
View File
@@ -12,7 +12,7 @@
"logs": "pm2 logs tasgrid",
"stop": "pm2 stop tasgrid",
"start-prod": "pm2 start \"bun run serve\" --name \"tasgrid\"",
"deploy": "git pull && bun run build && pm2 restart tasgrid"
"deploy": "git pull && bun run build && (pm2 restart tasgrid || bun run start-prod)"
},
"dependencies": {
"@kobalte/core": "^0.13.11",