Skip to content

Commit 53e8706

Browse files
committed
chore: simplify playwright webserver config to always use dev command
1 parent 7709aed commit 53e8706

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

playwright.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ export default defineConfig({
6060
],
6161

6262
webServer: {
63-
command: process.env.CI
64-
? 'npm run preview -- --port=5173'
65-
: 'npm run dev',
63+
command: 'npm run dev',
6664
url: 'http://localhost:5173',
6765
timeout: 120 * 1000,
6866
reuseExistingServer: !process.env.CI,

0 commit comments

Comments
 (0)