diff --git a/src/main/java/com/redhat/devtools/lsp4ij/settings/jsonSchema/AbstractLSPJsonSchemaFileSystemProvider.java b/src/main/java/com/redhat/devtools/lsp4ij/settings/jsonSchema/AbstractLSPJsonSchemaFileSystemProvider.java index 3fc793a6f..5e9f94fe5 100644 --- a/src/main/java/com/redhat/devtools/lsp4ij/settings/jsonSchema/AbstractLSPJsonSchemaFileSystemProvider.java +++ b/src/main/java/com/redhat/devtools/lsp4ij/settings/jsonSchema/AbstractLSPJsonSchemaFileSystemProvider.java @@ -42,7 +42,7 @@ public final VirtualFile getSchemaFile() { jsonSchemaFile = jsonSchemaFileUrl != null ? VirtualFileManager.getInstance().findFileByUrl(jsonSchemaFileUrl) : null; // Make sure that the IDE is using the absolute latest version of the JSON schema if (jsonSchemaFile != null) { - jsonSchemaFile.refresh(true, false); + jsonSchemaFile.refresh(true, false, () -> jsonSchemaFile.refresh(false, false)); } } return jsonSchemaFile;