Bug/Node

[Vue.js] Error in Vue.js hot reloading with WSL2

brightlightkim 2022. 5. 12. 07:28

If you are having the issue that the time for loading and building vue-cli is too long, you are probably trying to run the command in Windows system. This will dramatically increase your time since it goes from Linux System to Windows System.

 

And WSL2 CANNOT sense the change in the file

 

So go to your LINUX system and do the

 

vue create sample-project

cd sample-project

npm install

npm run serve

Then it will work much faster and hot reload again!