Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rs does not restart the main process #62

Open
timohausmann opened this issue Aug 30, 2021 · 2 comments
Open

rs does not restart the main process #62

timohausmann opened this issue Aug 30, 2021 · 2 comments

Comments

@timohausmann
Copy link

According to electron/forge#682 (comment) 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
Copy link

wobedi commented Jan 4, 2022

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

@ccavalieri-bonfiglioli
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants