mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-07 09:23:00 +02:00
Keep track of all config listeners
This commit is contained in:
@@ -68,10 +68,11 @@ export class Settings {
|
||||
workspace.onDidChangeConfiguration(() => {
|
||||
callback();
|
||||
});
|
||||
|
||||
// Keep track of the listeners
|
||||
Settings.listeners.push(callback);
|
||||
|
||||
if (projectConfig && !existsSync(projectConfig)) {
|
||||
// Keep track of the listeners
|
||||
Settings.listeners.push(callback);
|
||||
// No config file, no need to watch
|
||||
Settings.createFileCreationWatcher();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user