I have a VueJS app. Whenever I run npm run build it creates a new set of dist/* files, however, when I load them on the server (after deleting the
To delete the cache you can run rm -rf node_modules/.cache
This deletes your cache. You can run a new build before deploying.
I was having the same issue where I ran a production build, but then even when running locally my code would point to the production build instead of my latest changes.
I believe this is a related issue: https://github.com/vuejs/vue-cli/issues/2450