Skip to content

Commit

Permalink
Added file watch for changed json files for redhat-developer/yaml-lan…
Browse files Browse the repository at this point in the history
  • Loading branch information
JPinkney committed Jan 15, 2018
1 parent ddff447 commit 59fb941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ export function activate(context: ExtensionContext) {
// Synchronize the setting section 'languageServerExample' to the server
configurationSection: ['yaml', 'http.proxy', 'http.proxyStrictSSL'],
// Notify the server about file changes to '.clientrc files contain in the workspace
fileEvents: workspace.createFileSystemWatcher('**/*.?(e)y?(a)ml')
fileEvents: [
workspace.createFileSystemWatcher('**/*.?(e)y?(a)ml'),
workspace.createFileSystemWatcher('**/*.json')
]
}
}

Expand Down

0 comments on commit 59fb941

Please sign in to comment.