I’ve had an issue for a while now and it acts differently on separate projects new and old where styles aren’t being injected. I have two terminal windows open in VSCode. One with browser sync watching and another where I can manually clear cache and build.
Lately I’ve had to run
yarn cache clean and
yarn build, then manually refresh my browser before seeing changes take place. Sometimes I have to do this a couple of times before I can see the changes. Meanwhile, I see the browser rebuilding and confirms webpack has rebuilt but even after a hard refresh the changes don’t appear. I have to go back and clear cache and rebuild manually, then hard refresh before my changes appear.
This also happens when I make changes to blade files but its even worse with those files. I have to clean cache, rebuild and hard refresh multiple times.
I really don’t know where to start looking to fix this issue. It’s so painfully time consuming to have to do this constantly. Hopefully someone here has an idea of what’s going on. I do truly appreciate any feedback!