Replies: 2 comments
-
Maybe The |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @alex8088 I'm not interested in hot-reloading, actually i want to disable it explictly. Ideally, I would just want the iterative builds to not start the app. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a known way to rebuild the app when its source code changes without having the electron app start?
From what I tried:
electron-vite
starts the app and watches for changeselectron-vite build
andelectron-vite preview
build the app just onceSomething like
electron-vite build --watch
would sound perfect but it's not supported by the CLI and hacking electron-vite to inject a --watch flag anyway does not seem to do anything.Basically, I'm interested in having immediate feedback and short iterative builds when working, but I don't need to have the application starting because it uses some features that do no work well with hot reload anyway (eg web workers)
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions