We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f95521b commit 76ae3ffCopy full SHA for 76ae3ff
1 file changed
Extension/src/LanguageServer/extension.ts
@@ -952,7 +952,7 @@ function reportMacCrashes(): void {
952
// vscode.workspace.createFileSystemWatcher only works in workspace folders.
953
try {
954
fs.watch(crashFolder, (event, filename) => {
955
- if (event !== "change") {
+ if (event !== "rename") {
956
return;
957
}
958
if (!filename || filename === prevMacCrashFile) {
@@ -1012,7 +1012,7 @@ export function watchForCrashes(crashDirectory: string): void {
1012
1013
1014
fs.watch(crashDirectory, (event, filename) => {
1015
- if (event !== "rename") {
+ if (event !== "change") {
1016
1017
1018
if (!filename || filename === prevCppCrashFile) {
0 commit comments