nextron icon indicating copy to clipboard operation
nextron copied to clipboard

Multiple windows (processes)

Open jerrygreen opened this issue 3 years ago • 3 comments

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.

jerrygreen avatar Feb 28 '21 10:02 jerrygreen

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).

yoroshikun avatar Feb 28 '21 22:02 yoroshikun

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.

ultraBlack avatar Mar 07 '21 20:03 ultraBlack

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

lacymorrow avatar Mar 08 '21 01:03 lacymorrow