-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
I created a new Quasar project from scratch using the command npm init quasar@latest.
I selected:
App with Quasar CLI, let's go!
TypeScript
Quasar App CLI with Vite
Composition API with <script setup>
Sass with SCSS syntax
All available feature options
Added code formatting
Ran npm install
After that, I ran npm run dev.
I went to the initial file, added class="bg-red" to one of the files, saved it, and the hot reload didn't work.
I repeated the same procedure, just switching to webpack, and it worked.
node --version
v22.19.0
npm --version
11.5.2
I'm on Windows. This bug happens in macOS too.
What did you expect to happen?
Vite hot reloading working.
Reproduction URL
How to reproduce?
Create a project and follow instruction of the descrption. Then try to hot reaload.
Example:
In a new quasar project, add a class in some .vue file, like IndexPage.vue
Then save. Hot realoding not works.
After manually realod page:
But in webpack:
Then the screen becomes green without I need to manually refresh the page.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response