Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
✨ Add hot-reload shortcut Ctrl+Shift+F5
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed Jun 1, 2019
1 parent d7fdf3e commit 97c1a3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,11 @@ function registerKeyboardShortcuts() {
globalShortcut.register("Control+Shift+P", () => {
window.keyboard.togglePasswordMode();
});

// Hot reload shortcut
globalShortcut.register("Control+Shift+F5", () => {
window.location.reload(true);
});
}
registerKeyboardShortcuts();

Expand Down

0 comments on commit 97c1a3f

Please sign in to comment.