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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloader for Main process #3

Closed
philcockfield opened this issue Jan 13, 2019 · 3 comments
Closed

Reloader for Main process #3

philcockfield opened this issue Jan 13, 2019 · 3 comments

Comments

@philcockfield
Copy link

@shamofu - thanks SO MUCH for putting this boilerplate together! Hugely helpful 馃嵃馃挭.


I notice the main process does not auto re-load on changes (is that right, or am I missing something?). Makes sense as that's outside the purview of parcel, I guess.

But projects like electron-webpack seem to have figured out how to do HMR on main. Is this intentionally left out? Or do you have a strategy for how this might be done? Or (as above) and I missing something 馃槢.

Thanks.

@shamofu
Copy link
Owner

shamofu commented Jan 13, 2019

Glad to hear that!


HMR on main process is intentionally left out for now because somehow Parcel 2 will support it in the future. (parcel-bundler/parcel#2492)
However, I will try to implement it in other ways until then.

If you have any other questions, feel free to ask me!

@philcockfield
Copy link
Author

Oh, interesting! parcel-2...reading up on that now. Thanks.

@polarathene
Copy link

Might be worth mentioning the HMR support in the readme isn't available presently?

There is a tracking issue here which appears to have some workarounds mentioned if you want to go that route? Parcel 2 still looks like it's a while away (17.7% complete so far) (Project Board)

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

3 participants