Commit 64c5308
committed
Fix filesystem watcher glob
The current glob for watching workspace file changes
uses `?(e)` and `?(a)` to try and mean greadily accept `e` or `a` in the
extension.
Unfortuately, VS Code doesn't support this syntax,
so changes in `.yaml` files in the workspace aren't reported to
yaml-language-server.
As a result of this, if you have a JSON schema written in YAML,
then any files that reference it won't be properly revalidated
when you change it,
and the cached version of the schema won't be invalidated properly,
leading to incorrect completion results.
See redhat-developer/yaml-language-server#1134 (comment)
Signed-off-by: David Thompson <davthomp@redhat.com>1 parent 51a7796 commit 64c5308
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments