parcel icon indicating copy to clipboard operation
parcel copied to clipboard

Have to clear cache and restart parcel on each almost each save

Open a-rasin opened this issue 9 months ago • 5 comments

🐛 bug report

Changes aren't getting picked up after the first save. I need to constantly clear the cache and rerun parcel. Other team members can run it fine (only hmr doesn't work for them) but for me the page in the browser doesn't change. Even with reloading and hard reloading notihng changes. I can see parcel doing some work building something but changes are not reflected in the browser unless I clear the cache and rerun parcel. This sounds extremely similar to #5660 but saving a file with echo changes nothing so the cause seems slightly different

🎛 Configuration (.babelrc, package.json, cli command)

NODE_ENV=development parcel --port 9000

🤔 Expected Behavior

Rebuild on every save and at least by refreshing the browser I get the latest code.

😯 Current Behavior

After one or two saves the page in the browser remains the same literally nothing changes. Parcel is building something in the terminal but it is not reflected in the browser even if I refresh.

🔦 Context

Been experiencing this issue probably for a year now it used to stop picking up changes after about 4 edits per file but now it reduced to 1 and it's driving me nuts my productivity is destroyed

💻 Code Sample

Sorry can't share the code

🌍 Your Environment

Software Version(s)
Parcel 2.11.0 tried with some earlier versions and also v2.8.2
Node 22.2.0 but tried with older versions possibly 20.x.x
npm/Yarn 1.22.22
Operating System arch linux, 6.8.9 tried with older versions as well

a-rasin avatar May 20 '24 20:05 a-rasin