Electron JS Development Auto Refresh
npm i -D electron-reload
main.js:
const electron = require('electron')
require('electron-reload')(__dirname);
...rest of the code
KostasX