You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: When I start Parcel dev server via parcel serve src/pages/*.html it works fine for the very first time.
But when I make a change in the .tsx file, the browser is not updated.
Things that I have tried:
Force refresh browser
Change the file using another editor (Sublime, vim)
Stop and restart Parcel
rm -rf dist and .parcel-cache
After several tries, it just starts working fine (but for one time, later changes are again not shown).
This is probably a duplicate of #6685 or one of the other 10+ HMR open tickets. I have the same problem using html+js, but there's enough open tickets.
Summary: When I start Parcel dev server via
parcel serve src/pages/*.html
it works fine for the very first time.But when I make a change in the .tsx file, the browser is not updated.
Things that I have tried:
rm -rf dist
and.parcel-cache
After several tries, it just starts working fine (but for one time, later changes are again not shown).
My package.json:
The source file can be any simple tsx:
index.html:
index.js:
Parcel: 2.0.1
Yarn: 3.1.1
Node: 16.11.0
I use IntelliJ to edit files but as I mentioned, even editing the TSX source using other browsers does not fix the issue.
P.S: Somehow I suspect this is related to Yarn 3 (PnP) because I downgraded to yarn v1 and (at least for now) it is working fine.
The text was updated successfully, but these errors were encountered: