Skip to content

Commit 53ea0d5

Browse files
committed
Exclude .tempest directory from Vite's file watcher
1 parent 746ade2 commit 53ea0d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/vite-plugin-tempest/src/plugin.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ export default function tempest(): Plugin {
6262
/^https?:\/\/.*\.test(:\d+)?$/,
6363
].filter(Boolean),
6464
},
65+
watch: userConfig.server?.watch?.ignored ?? [
66+
'**/.tempest/**'
67+
],
6568
...(serverConfig
6669
? {
6770
host: userConfig.server?.host ?? serverConfig.host,

0 commit comments

Comments
 (0)