Skip to content

Commit

Permalink
Fix: Enable watch event on file change
Browse files Browse the repository at this point in the history
  • Loading branch information
WilsonZiweiWang committed Dec 7, 2023
1 parent 542b91d commit d01ff3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/language/languageClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ export async function activateLanguageServer (context: ExtensionContext): Promis

// Notify the server about file changes to '.clientrc files contain in the workspace
fileEvents: [
workspace.createFileSystemWatcher('**/*.bbclass', false, true, false),
workspace.createFileSystemWatcher('**/*.inc', false, true, false),
workspace.createFileSystemWatcher('**/*.bb', false, true, false),
workspace.createFileSystemWatcher('**/*.conf', false, true, false)
workspace.createFileSystemWatcher('**/*.bbclass', false, false, false),
workspace.createFileSystemWatcher('**/*.inc', false, false, false),
workspace.createFileSystemWatcher('**/*.bb', false, false, false),
workspace.createFileSystemWatcher('**/*.conf', false, false, false)
]
},
initializationOptions: {
Expand Down

0 comments on commit d01ff3a

Please sign in to comment.