Nathan Walker

05/14/2021, 8:13 PM
I cloned the UI git repo and am running it locally with
npm run serve
and it's working great. However, when I change code in ./src, I'm not seeing changes reflected at localhost:8080. Do I need to change any settings to get it to hot reload? Or does it only hot reload specific files in /src?
For any future folks: • vue-cli-service won't correctly poll for changes if you're running node/Vue in WSL2 while your files are located in Windows (/mnt/c/Users/...). Move your files into WSL2 (e.g., ~/prefect/ui/...) and hot-reloading will work.