File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -952,7 +952,7 @@ function reportMacCrashes(): void {
952952 // vscode.workspace.createFileSystemWatcher only works in workspace folders.
953953 try {
954954 fs . watch ( crashFolder , ( event , filename ) => {
955- if ( event !== "change " ) {
955+ if ( event !== "rename " ) {
956956 return ;
957957 }
958958 if ( ! filename || filename === prevMacCrashFile ) {
@@ -1012,7 +1012,7 @@ export function watchForCrashes(crashDirectory: string): void {
10121012 // vscode.workspace.createFileSystemWatcher only works in workspace folders.
10131013 try {
10141014 fs . watch ( crashDirectory , ( event , filename ) => {
1015- if ( event !== "rename " ) {
1015+ if ( event !== "change " ) {
10161016 return ;
10171017 }
10181018 if ( ! filename || filename === prevCppCrashFile ) {
You can’t perform that action at this time.
0 commit comments