Skip to content

Commit 64783fe

Browse files
fix: add 'vite.config.ts.timestamp-*' to ignore list (#2052)
1 parent b3e8595 commit 64783fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-check/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class DiagnosticsWatcher {
114114
ignoreInitialAdd: boolean
115115
) {
116116
watch(`${workspaceUri.fsPath}/**/*.{svelte,d.ts,ts,js,jsx,tsx,mjs,cjs,mts,cts}`, {
117-
ignored: ['node_modules']
117+
ignored: ['node_modules', 'vite.config.{js,ts}.timestamp-*']
118118
.concat(filePathsToIgnore)
119119
.map((ignore) => path.join(workspaceUri.fsPath, ignore)),
120120
ignoreInitial: ignoreInitialAdd

0 commit comments

Comments
 (0)