Electron JS Development Auto actualiza

npm i -D electron-reload

main.js: 

const electron = require('electron')
require('electron-reload')(__dirname);

...rest of the code
KostasX