-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
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
Duplicate log lines in debug console in vscode #75
Comments
@ADumaine This is a issue with vite. electron-vite uses vite‘s |
Ok. Do you know a way to suppress it or should I create a vite issue? |
It is unclear whether this problem also exists in web application development (debugging). I haven't found a way to suppress it. |
Later, I will also test whether web application development also has this issue. |
It only happens in vscode, it will be fixed in the next version. |
new ver 1.0.17 is out! |
Describe the bug
When starting my app with
npm run electron-vite dev
there is only one line for each console.log statement in the main background process.When starting in vscode, every console.log line is duplicated: one from main, one from publicUtils.js.
This is the launch config
I am not sure if this is an electron-vite issue or a vite issue or I just have something misconfigured.
This was also happening prior to vite 4.x
Electron-Vite Version
1.0.16
Electron Version
22.0.0
Vite Version
4.0.0
Validations
The text was updated successfully, but these errors were encountered: