Skip to content

Commit 60f53e8

Browse files
author
Bradley Shellnut
committed
Run svelte sync in playwright
1 parent ba55c89 commit 60f53e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { PlaywrightTestConfig } from '@playwright/test';
22

33
const config: PlaywrightTestConfig = {
44
webServer: {
5-
command: 'pnpm run build && pnpm run preview',
5+
command: 'pnpm -s exec svelte-kit sync && pnpm run build && pnpm run preview',
66
port: 4173,
77
timeout: 180_000,
88
reuseExistingServer: true

0 commit comments

Comments
 (0)