diego3g / electron-typescript-react

:electron: An Electron boilerplate including TypeScript, React, Jest and ESLint.
1.45k stars 295 forks source link

rs does not restart the main process #62

Open timohausmann opened 3 years ago

timohausmann commented 3 years ago

According to https://github.com/electron-userland/electron-forge/issues/682#issuecomment-460866141 and https://www.electronforge.io/cli#start

If you type rs (and hit enter) in the same terminal where you ran the start command, the running app will be terminated and restarted.

Does this work for you? Somehow, it does not work for me. I tested with vanilla electron-forge and there it works.

So each time I change something on the main code, I have to Ctrl+C and npm start. Any ideas? How is your dev workflow?

wobedi commented 2 years ago

:point_up: Also does not work for me. Stopped working when I upgraded from Electron 12 to Electron 16

ccavalieri-bonfiglioli commented 2 years ago

Same problem for me. To trigger the reload you have to