Fix: watch config changes
This commit is contained in:
parent
b4113d1a61
commit
44cb9e03a0
|
@ -64,7 +64,7 @@
|
|||
const configs = new Map();
|
||||
|
||||
chrome.storage.onChanged.addListener((changes, area) => {
|
||||
if (area !== 'sync' || !changes.hasOwnProperty('editorStylelintConfig')) {
|
||||
if (area !== 'sync') {
|
||||
return;
|
||||
}
|
||||
for (const [name, engine] of Object.entries(engines)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user