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
Hot module reloading keep opening new process of electron when I save change in the main/index.ts
I got few class importer and initialized in the main/index.ts because I need them to use node API
But when I edit them and save this create me a new window of electron, it seems logic, but I can't find a way to fix this :/
I'm really new to electron only 2 days in.
I'm running on Mac Os and BrowserWindow.getAllWindows().length keep returning me 1
BrowserWindow.getAllWindows().length
Help would be greatly appreciated <3
The text was updated successfully, but these errors were encountered:
npm i -D tree-kill https://github.com/electron-vite/vite-plugin-electron/tree/v0.15.5?tab=readme-ov-file#faq
npm i -D tree-kill
Sorry, something went wrong.
No branches or pull requests
Hot module reloading keep opening new process of electron when I save change in the main/index.ts
I got few class importer and initialized in the main/index.ts because I need them to use node API
But when I edit them and save this create me a new window of electron, it seems logic, but I can't find a way to fix this :/
I'm really new to electron only 2 days in.
I'm running on Mac Os and
BrowserWindow.getAllWindows().length
keep returning me 1Help would be greatly appreciated <3
The text was updated successfully, but these errors were encountered: