Skip to content

Commit 314c09c

Browse files
authoredJun 30, 2022
fix: ignore Playwright test results directory (#8778)
1 parent 3af6a1b commit 314c09c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎packages/vite/src/node/server/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,9 @@ export async function createServer(
291291
const { ignored = [], ...watchOptions } = serverConfig.watch || {}
292292
const watcher = chokidar.watch(path.resolve(root), {
293293
ignored: [
294-
'**/node_modules/**',
295294
'**/.git/**',
295+
'**/node_modules/**',
296+
'**/test-results/**', // Playwright
296297
...(Array.isArray(ignored) ? ignored : [ignored])
297298
],
298299
ignoreInitial: true,

0 commit comments

Comments
 (0)
Please sign in to comment.