child process - Electron's app.relaunch() loose stdio -
using
chokidar.watch(mainfile).on('change', () => { app.relaunch(); app.exit(0); });
i can have electron app auto-reload on source change. since main process killed, loose terminal output necessary debugging. there way use app.relaunch()
retaining stdio
of parent process?
Comments
Post a Comment