Recarregar de modelo a quente de elétrons
// install
npm i -D electron-reloader
// add this to main.js at top
try { require('electron-reloader')(module);} catch {};
// add this to package.json under `scripts` object
'start': 'electron .'
// now run electron and change file
npm run start
shahul