N
Nuxt8mo ago
Rostislav

HMR is not working while updating pages and components

I'm just starting new project, but hot reload is working only when I update 'app.vue' file. Any changes in pages and components don't trigger the HMR. I'm working on WSL. nuxt.config.ts:
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/eslint"],
css: ["~/assets/css/main.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
})
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/eslint"],
css: ["~/assets/css/main.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
})
1 Reply
Rostislav
RostislavOP8mo ago
Solved! I run it directly on Windows without WSL and used 'pnpm' instead of 'bun' - now everything works as expected.
Want results from more Discord servers?
Add your server