We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17e23bb commit fb6b95aCopy full SHA for fb6b95a
server/src/server.ts
@@ -235,9 +235,13 @@ let compilerLogsWatcher = chokidar
235
})
236
.on("all", (_e, changedPath) => {
237
if (changedPath.includes("build.ninja")) {
238
- let projectRoot = utils.findProjectRootOfFile(changedPath);
239
- if (projectRoot != null) {
240
- syncProjectConfigCache(projectRoot);
+ if (
+ config.extensionConfiguration.cache?.projectConfig?.enabled === true
+ ) {
241
+ let projectRoot = utils.findProjectRootOfFile(changedPath);
242
+ if (projectRoot != null) {
243
+ syncProjectConfigCache(projectRoot);
244
+ }
245
}
246
} else {
247
sendUpdatedDiagnostics();
0 commit comments