Skip to content

HMR (with Vite) randomly skip updates and stop working #11956

@mkhennoussi

Description

@mkhennoussi

Environment

Nuxt CLI v3.0.0-27236898.4a34c2a
RootDir: G:\PROJECTS\Testing\NUXT\nuxt3-app
Nuxt project info:

------------------------------
- Operating System: `Windows_NT`
- Node Version:     `v16.8.0`
- Nuxt Version:     `3-3.0.0-27236898.4a34c2a`
- Package Manager:  `Yarn`
- Bundler:          `Webpack`
- User Config:      `-`
- Runtime Modules:  `-`
- Build Modules:    `-`
------------------------------

Describe the bug

HMR with Vite randomly skip updates, I mean some (random I guess) updates on the code don't show up on the browser.

Reproduction

Just use the basic generated app from the CLI and add/remove some code in the template part of app.vue.
Repeat that until you notice that some updates on the code don't show up on the browser.
It is more noticeable if you work fast with tailwindcss/windicss.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions