Use the REMIX_APP_PORT for the Remix app server port when developing locally

This commit is contained in:
Eric Allam
2023-06-23 14:53:41 +01:00
parent 2e1624235c
commit ad33abe6bc
+1 -1
View File
@@ -8,7 +8,7 @@
"build:remix": "remix build --sourcemap",
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build",
"dev": "run-p dev:*",
"dev:remix": "cross-env NODE_ENV=development remix dev",
"dev:remix": "cross-env NODE_ENV=development remix dev --port ${REMIX_APP_PORT:-3000}",
"format": "prettier --write .",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"start": "cross-env NODE_ENV=production node --max-old-space-size=8192 ./build/server.js",