diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a36e457a7..e0b94e530 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,6 +30,8 @@ To run the **electron app**: pnpm start ``` +To reload the app with the changes that `pnpm watch` has detected, you can use the `CmdOrCtrl+R` shortcut. + ### Tests There are 2 checks: diff --git a/src/electron/main.js b/src/electron/main.js index 303bd0e8c..0d04fcf23 100644 --- a/src/electron/main.js +++ b/src/electron/main.js @@ -34,6 +34,13 @@ const browserWindowOpts = { }; const contextMenu = Menu.buildFromTemplate([ + { + role: 'reload', + }, + { + role: 'toggleDevTools', + }, + { type: 'separator' }, { label: 'Quit', click: () => { @@ -80,6 +87,7 @@ app.whenReady().then(async () => { mb.window.setSize(800, 600); mb.window.center(); mb.window.resizable = true; + mb.window.setAlwaysOnTop(true); }); mb.window.webContents.on('devtools-closed', () => {