mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
fix(lsp): change glob to watch json and jsonc files (#14828)
This commit is contained in:
parent
e484c6bb1d
commit
c59884c0da
@ -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),
|
||||
}],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user