Laravel Mix HMR not updating after compiling Laravel Mix HMR not updating after compiling vue.js vue.js

Laravel Mix HMR not updating after compiling


You probably use .version() in your mix file.Like in the docs, versioning in development is not very useful, so you could;

if (mix.inProduction()) {  mix.version();}

Docs: https://laravel.com/docs/5.8/mix#versioning-and-cache-busting


It seems there is a problem with mix.version(). After removing .version() from my webpack.mix.js file, everything appears to work.