I have a problem when I try to use Parceljs (GitHub - parcel-bundler/parcel: The zero configuration build tool for the web. ๐ฆ๐) with hot module replacement to bundle assets in my theme. I can only see changes in styles and javascript after I manually reload the page, I canโt get the Hot module replacement to work properly when I develop in Local.
Error in console says:
WebSocket connection to 'ws://parceltimberstarter.local:49253/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Just like in the screenshot below:
Parcel is so-called 0-config bundler so maybe it makes some wrong assumptions here that prevents HMR from working - in such case itโs not an issue with Local but with Parcel, but Iโm not sure. It would be great to make it work.
Thanks for any hints!