[Vuejs]-Vue.js hot reload not detecting changes

1πŸ‘

βœ…

I found the solution.

I am using WSL2 and my files are stored on the windows partition (C:/).
It seems that linux webpack doesn’t see file changes if they are not on Windows FS.

So I deleted my node_modules and re-installed everything from powershell.
Did npm serve from powershell and it worked. Hot reload was back.

So if you still wish to use WSL2 I guess that you should move your project file over to WSL2 file-system.

πŸ‘€Doctor

Leave a comment