Skip to content

Commit

Permalink
Enable hot reload for hidesExplorerArrows configuration (Closes #454)
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed May 22, 2019
1 parent 5c01961 commit c65d9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/changeDetection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const detectConfigChanges = () => {
createIconFile(changes.updatedConfigs, changes.updatedJSONConfig);

// check if a reload of the editor is required
const configRequiresReload = ['opacity', 'saturation', 'folders.color', 'hidesExplorerArrows'];
const configRequiresReload = ['opacity', 'saturation', 'folders.color'];
const reloadRequired = configRequiresReload.some(r => getObjectPropertyValue(changes.updatedConfigs, r) !== undefined);
if (reloadRequired) {
promptToReload();
Expand Down

0 comments on commit c65d9a6

Please sign in to comment.