Fix: watch config changes

This commit is contained in:
eight 2018-09-02 16:36:29 +08:00
parent b4113d1a61
commit 44cb9e03a0

View File

@ -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)) {