Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 5c647a2

Browse files
committed
Add filter watch ignores for target/debug & target/release
1 parent 6e8e248 commit 5c647a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,10 @@ class RustLanguageClient extends AutoLanguageClient {
327327
// TODO ignore all files and wait for `client/registerCapability`
328328
// to inform us of the correct files to watch, until that's implemented
329329
// these filters take eliminate the brunt of the watch message spam
330-
return !filePath.includes('/.git/') && !filePath.includes('/target/rls/')
330+
return !filePath.includes('/.git/') &&
331+
!filePath.includes('/target/rls/') &&
332+
!filePath.includes('/target/debug/') &&
333+
!filePath.includes('/target/release/')
331334
}
332335

333336
startServerProcess() {

0 commit comments

Comments
 (0)