Skip to content

Commit e1bdcf2

Browse files
authored
fix(vite): exclude .tempest from vite's file watcher (#1384)
1 parent b57bf7f commit e1bdcf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

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

0 commit comments

Comments
 (0)