Closed nadangergeo closed 6 years ago
Are you starting with npm run dev
and then killing from Electron directly? If so, it probably is upsetting foreman. You could kill from your console/terminal by hitting Ctrl-C
so that foreman, which is managing the processes, can clean up.
In production, you wouldn't use foreman so I don't think this would be an issue.
Given the error message you noted, this is my best guess.
Ah! Yes, ctrl-c made Foreman happier ^^ Makes sense now :) Thank you!
Cheers, Nadan Gergeo
On 7 Jan 2018, at 08:21, Christian Sepulveda notifications@github.com wrote:
Are you starting with npm run dev and then killing from Electron directly? If so, it probably is upsetting foreman. You could kill from your console/terminal by hitting Ctrl-C so that foreman, which is managing the processes, can clean up.
In production, you wouldn't use foreman so I don't think this would be an issue.
Given the error message you noted, this is my best guess.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi! Thank you for a great tutorial :)
When explicitly quiting the app, the web server is not killed and it throws and error. The same error is given when trying to start the app again ("killall node" resolves this). Any ideas what to do about this? Is this a problem when building the electron app for prod?