fix(ci): simplify webServer preview command to avoid host/port override
This commit is contained in:
1 parent
62d3923dee
commit
d88524b0f7
1 file changed
+1
-1
@@ -85,7 +85,7 @@ export default defineConfig({
|
||||
? undefined
|
||||
: {
|
||||
command: process.env.CI
|
||||
? `pnpm run preview -- --host localhost --port ${port} > preview.log 2>&1`
|
||||
? `pnpm run preview -- --port ${port}`
|
||||
: `pnpm run dev -- --host localhost --port ${port}`,
|
||||
url: `http://localhost:${port}`,
|
||||
reuseExistingServer,
|
||||
|
||||
Reference in new issue
Block a user