Skip to content
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

Hot reloading doesn't reload preload script #56

Open
DeeGeeMan opened this issue Dec 13, 2021 · 0 comments
Open

Hot reloading doesn't reload preload script #56

DeeGeeMan opened this issue Dec 13, 2021 · 0 comments

Comments

@DeeGeeMan
Copy link

No matter which files I changed, Webpack watcher will refresh the page upon update. However, the preload.ts doesn't get loaded during this process. If type rs in the console as mentioned in the docs, it still doesn't load. It only works the first time the app is luanched.

Error:

Unable to load preload script: ~/.webpack/renderer/main_window/preload.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant