Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMR not working on a freshly created Nuxt 3 project inside WSL 2 #445

Open
6 tasks done
rvalledorjr opened this issue Feb 9, 2023 · 2 comments
Open
6 tasks done
Labels
to triage This issue needs to be triaged

Comments

@rvalledorjr
Copy link

rvalledorjr commented Feb 9, 2023

Describe the bug

HMR not working on a Nuxt project inside WSL 2. I set histoire.config.ts vite.server.host = true, but it only manages to render the page in the host browser. I still need to do a manual page reload just to see my changes.

Reproduction

Clone https://github.com/Novicell/nuxt3-boilerplate inside WSL

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 7.09 GB / 7.68 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.12.0 - ~/.nvm/versions/node/v18.12.0/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.0/bin/npm

Used Package Manager

npm

Validations

@rvalledorjr rvalledorjr added the to triage This issue needs to be triaged label Feb 9, 2023
@JakubGetMe
Copy link

Can confirm, also happening here. Nuxt 3.3.1 and histoire 0.15.9.

@naveeng2402
Copy link

The hmr is not working and the console shows that the unhandled error in setup of NuxtRoot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants