From 33a8613451c8587b68d94e0985070fc32c9d7b7a Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 28 Mar 2022 20:40:39 +1100 Subject: [PATCH] fix(lsp): watch .jsonc files (#14135) --- cli/lsp/language_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index ee69d59c47..c2083bc480 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -762,7 +762,7 @@ impl Inner { let watch_registration_options = DidChangeWatchedFilesRegistrationOptions { watchers: vec![FileSystemWatcher { - glob_pattern: "**/*.json".to_string(), + glob_pattern: "**/*.json{c}".to_string(), kind: Some(WatchKind::Change), }], };