-
Notifications
You must be signed in to change notification settings - Fork 780
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
HMR with parcel in 1.2.6 #705
Comments
@knipferrc I'd like to get to the bottom of this and find a fix if there's really an issue. I have a similar problem with parcel, but only when developing Hyperapp, not with Hyperapp. Could you investigate more? |
@knipferrc What's the error message by the way? I'm seeing this a lot (almost every time I change Hyperapp source code), not my app's code.
|
Yeah sure I can investigate. I actually dont get any errors. |
Honestly I have no idea what I did but it seems to be working now for some reason. |
Actually, same here, true story. Very odd. 😆 |
Same here, writing garbage code do trigger the error overlay but once fixed or on adding new lines of code HMR does not seem to trigger the page reload. Reloading manually the page still shows the updates though. Hope this feedback helps as I can't investigate any further. |
@aminnairi I haven't had the same error again. I can edit apps, as well as Hyperapp's source—which I'm modifying a lot as I prepare to release 2.0α—and everything works like a charm. I can't suggest anything concrete since I don't know what fixed things for me, but try removing parcel's cache, |
I tried removing the cache, using the |
Thanks, @aminnairi. To clarify, you do mean parcel 2.x? |
No, I'm currently using the version |
@aminnairi Ah, okay. I meant when you commented:
You mean parcel 2.x.x and not Hyperapp 2.x. |
Oh yes I meant parcel 2 ! |
3rd attemp now workingOkay, I think i've an idea of why it was not working. I always tried to manually install So now, everything is working fine, even the live reloading.
|
Thanks, @aminnairi!
Great! 🎉 |
Parcel with 1.2.5 works great with HMR. With the update to 1.2.6 for some reason HMR is broken and I have to restart the app every time I save something?
The text was updated successfully, but these errors were encountered: