1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(lsp): change glob to watch json and jsonc files (#14828)

This commit is contained in:
Bartek Iwańczuk 2022-06-09 17:59:22 +02:00 committed by GitHub
parent 94068b7109
commit d8f6be2336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -797,7 +797,7 @@ impl Inner {
let watch_registration_options =
DidChangeWatchedFilesRegistrationOptions {
watchers: vec![FileSystemWatcher {
glob_pattern: "**/*.json{c}".to_string(),
glob_pattern: "**/*.{json,jsonc}".to_string(),
kind: Some(WatchKind::Change),
}],
};