Lock ports for dev

This commit is contained in:
Ben Allfree 2023-12-25 06:32:22 -08:00
parent b5eca8f442
commit 6cb6ff8045
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"check:types": "svelte-check", "check:types": "svelte-check",
"preview": "npx http-server@latest ./build -P \"http://localhost:8080?\"", "preview": "npx http-server@latest ./build -P \"http://localhost:8080?\"",
"dev": "vite dev --force --host=0.0.0.0", "dev": "vite dev --force --host=0.0.0.0 --port=5174",
"build": "NODE_ENV=production vite build", "build": "NODE_ENV=production vite build",
"lint": "prettier --check .", "lint": "prettier --check .",
"format": "prettier --write ." "format": "prettier --write ."

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"check:types": "svelte-check", "check:types": "svelte-check",
"preview": "npx http-server@latest ./build -P \"http://localhost:8080?\"", "preview": "npx http-server@latest ./build -P \"http://localhost:8080?\"",
"dev": "vite dev --force --host=0.0.0.0", "dev": "vite dev --force --host=0.0.0.0 --port=5175",
"build": "NODE_ENV=production vite build", "build": "NODE_ENV=production vite build",
"lint": "prettier --check .", "lint": "prettier --check .",
"format": "prettier --write ." "format": "prettier --write ."