We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As i tried to start the electron instance with electron-vite, the console could not transport the output with colors.
I did a bit research about it and I guess the styles were lost when converted from startElectron src/electron.ts#L139.
startElectron
It would work as I expected if I make this change.
- const ps = spawn(electronPath, ['.'].concat(args)) + const ps = spawn(electronPath, ['.'].concat(args), {stdio: 'inherit'}) - ps.stdout.on('data', chunk => { - !inspect && chunk.toString().trim() && logger.info(chunk.toString()) - }) - ps.stderr.on('data', chunk => { - !inspect && chunk.toString().trim() && logger.error(chunk.toString()) - }) + // !inspect && chunk.toString().trim() && logger.info(chunk.toString()) + // }) + // ps.stderr.on('data', chunk => { + // !inspect && chunk.toString().trim() && logger.error(chunk.toString()) + //})
1.0.22
19.0.0
4.0.0
The text was updated successfully, but these errors were encountered:
@xzifan Thanks for your feedback, this issue will be fixed soon.
Sorry, something went wrong.
perf: spawn Electron process using parent's stdios (#236)
342a055
new ver 1.0.26 is out 🎉
fixed now
No branches or pull requests
Describe the bug
As i tried to start the electron instance with electron-vite, the console could not transport the output with colors.
I did a bit research about it and I guess the styles were lost when converted from
startElectron
src/electron.ts#L139.It would work as I expected if I make this change.
Electron-Vite Version
1.0.22
Electron Version
19.0.0
Vite Version
4.0.0
Validations
The text was updated successfully, but these errors were encountered: