electron-typescript-react
electron-typescript-react copied to clipboard
rs does not restart the main process
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?
:point_up: Also does not work for me. Stopped working when I upgraded from Electron 12 to Electron 16
Same problem for me. To trigger the reload you have to
- change the main code
- save the file
- type
rs
- hit enter
- AND save again the file