hot-reload: implememnt auto session/state backup on reload and display error stack in a popup

This commit is contained in:
jean-emmanuel 2018-10-19 21:25:00 +02:00
parent bcf80a1668
commit 42bd16df09
5 changed files with 109 additions and 52 deletions

View file

@ -38,7 +38,7 @@ module.exports = function(options={}) {
}
})
window.webContents.on('will-navigate', (event)=>event.preventDefault())
// window.webContents.on('will-navigate', (event)=>event.preventDefault())
window.webContents.on('new-window', (event)=>event.preventDefault())
if (options.fullscreen) {