Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit f517012

Browse files
committed
Fix for Reload With(out) Extensions not working
In Brackets 1.14.1 a browser reload failed (menu items Debug | Reload With(out) Extensions). Rejecting the `_disableCache()` promise when no remote debugging port is found, will fix this.
1 parent 5f40608 commit f517012

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/document/DocumentCommandHandlers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,8 @@ define(function (require, exports, module) {
16651665
// In case of an error
16661666
_socket.onerror = result.reject;
16671667
});
1668+
} else {
1669+
result.reject();
16681670
}
16691671
});
16701672
}

0 commit comments

Comments
 (0)