Skip to content

Commit

Permalink
Bug fix: enable/disable not working on dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO-2684 committed Jul 7, 2024
1 parent 1727a70 commit 0730c77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ function onScriptChange(eventType, filename) {
function onConfigChange(event, absPath, enable) {
log("onConfigChange", absPath, enable);
scriptsConfig[absPath] = enable;
if (!devMode) {
updateScript(absPath);
}
updateScript(absPath);
}

// 监听开发者模式开关
Expand Down

0 comments on commit 0730c77

Please sign in to comment.