Use electronmon to watch and reload Electron applications
masterTo use electronmon, replace the electron command with electronmon when launching your application. You can pass the same arguments to electronmon that you would normally pass to the electron CLI.
electronmon automatically watches your files:
- Changes to main process files trigger a full application restart.
- Changes to renderer process files trigger a reload of the application's browser windows.
It works in-process and will not exit on the first application relaunch.
npx electronmon .