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

Multiple windows (processes) #155

Open
jerrygreen opened this issue Feb 28, 2021 · 3 comments
Open

Multiple windows (processes) #155

jerrygreen opened this issue Feb 28, 2021 · 3 comments
Labels
question Further information is requested

Comments

@jerrygreen
Copy link

image

When I restart nextron (for example, when I change next.config.js so I have to restart dev server), - existing windows don't close automatically. Too quick it appears I have many applications running at the same time, and it would be cool if they were closing automatically.

@yoroshikun
Copy link

Hey @jerrygreen, I have also been plagued with this issue, the only temporary workaround it is to disable building file change (which I had auto-save enabled and was making the process spawn many times per edit) with "nextron --run-only" config option.

To be clear this does not solve the issue and you will still need to manually restart the dev server on desired changes to the main process, and you will still need to close the windows manually when disposing of them. (closing the node process will close the window).

@ghost
Copy link

ghost commented Mar 7, 2021

This is one of the main things keeping me from using Nextron right now. It would be nice if the old processes closed automatically. I have a setup for one of my apps using electron-next which works this way.

@lacymorrow
Copy link
Collaborator

lacymorrow commented Mar 8, 2021 via email

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

No branches or pull requests

4 participants