Project stops working on development mode when it builds

When ever I do a yarn build for my approval base my project stops working.

I delete my dist folder to prevent any errors but my hot reload stops working, it acts as if nothing in the project changed, and I need to do a yarn serve every time so I can see the changes.

How can I fix my current project and be safe for next builds?

Are you using PWAs? In that case, you should clear the application cache after testing your build because it’ll register a service worker that will break the hot reloading.

How to check that? I started rebooting my Terminal and VSC and in some cases of great struggle I reboot the machine, after that hot-reload would start working as it should again. That started working for me but if you have a better workaround please teach me :slight_smile: