nextron
nextron copied to clipboard
Multiple windows (processes)
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.
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).
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.
To be fair, this is usually the case with Electron apps, you have to manually kill the windows.
On Sun, Mar 7, 2021 at 15:52 ultraBlack [email protected] wrote:
This is one of the main things keeping me from using Nextron right now.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/saltyshiomix/nextron/issues/155#issuecomment-792350717, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKAERNVISC23AIXZHJRIPDTCPRQDANCNFSM4YK47D2A .
--
Lacy Morrow www.lacymorrow.com