From 60f53e84ed7864461578c23f2142ff198d957ad2 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Sun, 24 Aug 2025 21:45:06 -0700 Subject: [PATCH] Run svelte sync in playwright --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 9f2f15a..c4007d8 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -2,7 +2,7 @@ import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { webServer: { - command: 'pnpm run build && pnpm run preview', + command: 'pnpm -s exec svelte-kit sync && pnpm run build && pnpm run preview', port: 4173, timeout: 180_000, reuseExistingServer: true