Use the REMIX_APP_PORT for the Remix app server port when developing locally
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user