Skip to content

Commit 9f837b1

Browse files
committed
fix: extension not able to pick up new update variables
1 parent 1c6bc39 commit 9f837b1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client/src/extension.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ export function activate(context: ExtensionContext) {
3838
// Options to control the language client
3939
const clientOptions: LanguageClientOptions = {
4040
documentSelector: [{ scheme: 'file' }, { scheme: 'untitled' }],
41+
synchronize: {
42+
fileEvents: [
43+
workspace.createFileSystemWatcher('**/*.css'),
44+
workspace.createFileSystemWatcher('**/*.scss'),
45+
workspace.createFileSystemWatcher('**/*.sass'),
46+
workspace.createFileSystemWatcher('**/*.less'),
47+
]
48+
}
4149
};
4250

4351
// Create the language client and start the client.

0 commit comments

Comments
 (0)