fix(ci): improve webServer startup debugging and host binding
This commit is contained in:
1 parent
3b073a4e11
commit
14b916fec8
1 file changed
+4
-4
@@ -85,10 +85,10 @@ export default defineConfig({
|
||||
? undefined
|
||||
: {
|
||||
command: process.env.CI
|
||||
? `pnpm run build && pnpm run preview -- --host 127.0.0.1 --port ${port}`
|
||||
: `pnpm run dev -- --host 127.0.0.1 --port ${port}`,
|
||||
url: defaultBaseUrl,
|
||||
? `pnpm run preview -- --host localhost --port ${port} > preview.log 2>&1`
|
||||
: `pnpm run dev -- --host localhost --port ${port}`,
|
||||
url: `http://localhost:${port}`,
|
||||
reuseExistingServer,
|
||||
timeout: 120 * 1000,
|
||||
timeout: 180 * 1000,
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user