Commit 23d7c2b2 authored by Rais Aryaguna's avatar Rais Aryaguna

fix: update serve:web script to specify production environment for PM2

parent e70f91d4
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
"tsc:dev": "yarn dev & yarn tsc:watch", "tsc:dev": "yarn dev & yarn tsc:watch",
"tsc:watch": "tsc --noEmit --watch", "tsc:watch": "tsc --noEmit --watch",
"tsc:print": "npx tsc --showConfig", "tsc:print": "npx tsc --showConfig",
"serve:web": "npm install && npm run build && pm2 startOrRestart ecosystem.config.cjs --env" "serve:web": "npm install && npm run build && pm2 startOrRestart ecosystem.config.cjs --env production"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=20"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment