Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler
Forked from anonymous/repro.txt
Created November 29, 2017 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexZeitler/4702438ea757a215e543d4003266c04e to your computer and use it in GitHub Desktop.
Save AlexZeitler/4702438ea757a215e543d4003266c04e to your computer and use it in GitHub Desktop.
vue.js / webpack / Windows 10 FCU WSL
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install 8.4.0
npm install -g vue-cli
vue init webpack my-project
cd my-project
npm install
npm run dev
Browse http://localhost:8080
Modify content of ./src/components/HelloWorld.vue
Expected: re-run of webpack build in WSL
Actual: nothing happens / Can't refresh app in browser (tries to refresh until timeout). No errors or warnings in WSL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment