Skip to content

Commit

Permalink
Fix compileCommand updating. (#5688)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus authored Jun 25, 2020
1 parent 2efdb84 commit 832165f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Extension/src/LanguageServer/configurations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,6 @@ export class CppProperties {
try {
filePaths.forEach((path: string) => {
this.compileCommandFileWatchers.push(fs.watch(path, (event: string, filename: string) => {
if (event === "rename") {
return;
}
// Wait 1 second after a change to allow time for the write to finish.
if (this.compileCommandsFileWatcherTimer) {
clearInterval(this.compileCommandsFileWatcherTimer);
Expand Down

0 comments on commit 832165f

Please sign in to comment.