Open rtritto opened 2 months ago
I have a config file that is used (imported) in a component to render its content. When the config changes also electron window is restarted.
In electron/electron-forge/vite settings, add the config file path to an option to ignore the restart of electron window
NA
No response
@caoxiemeihao in Electron Forge (or maybe Vite) context, what is the correct way to add ignore watch file related to hot-reload/hot-restart?
hot-reload
hot-restart
Pre-flight checklist
Problem description
I have a config file that is used (imported) in a component to render its content. When the config changes also electron window is restarted.
Proposed solution
In electron/electron-forge/vite settings, add the config file path to an option to ignore the restart of electron window
Alternatives considered
NA
Additional information
No response