Skip to content

Commit

Permalink
Clear file cache on close
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Allan <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Jun 29, 2023
1 parent 23e5d62 commit 6178f1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension/server/src/providers/linter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ export function initialise(connection: _Connection) {
boundLintConfig = {};
jsonCache = {}
}
})

documents.onDidClose(async e => {
const uriString = e.document.uri;
resolvedMembers[uriString] = {};
resolvedStreamfiles[uriString] = {};
})
Expand Down

0 comments on commit 6178f1d

Please sign in to comment.