mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
fix(lsp): change glob to watch json and jsonc files (#14828)
This commit is contained in:
parent
94068b7109
commit
d8f6be2336
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ impl Inner {
|
||||||
let watch_registration_options =
|
let watch_registration_options =
|
||||||
DidChangeWatchedFilesRegistrationOptions {
|
DidChangeWatchedFilesRegistrationOptions {
|
||||||
watchers: vec![FileSystemWatcher {
|
watchers: vec![FileSystemWatcher {
|
||||||
glob_pattern: "**/*.json{c}".to_string(),
|
glob_pattern: "**/*.{json,jsonc}".to_string(),
|
||||||
kind: Some(WatchKind::Change),
|
kind: Some(WatchKind::Change),
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue