N
Nuxt8mo ago
Denoic

Why is the Nuxt dev server so slow?

Like it can take up to 3 seconds to hot reload and I'm not even using ssr. Soo what can possibly be the reason for this?
11 Replies
Attacler/Bart
Attacler/Bart8mo ago
maybe your calling a slow api or something? or is that always happening?
Denoic
DenoicOP8mo ago
It's always happening i tried disabling all the apis and it still happens : /
Attacler/Bart
Attacler/Bart8mo ago
is it after a certain nuxt module is enabled? or is it always happening, also on a new project?
Denoic
DenoicOP8mo ago
let me try it on a new project nope it doesnt happen on a new project
Denoic
DenoicOP8mo ago
There is one thing that is interesting and idk why When i update orders.vue, it updates tailwind.css? Like is this from the module viewer or?
No description
Attacler/Bart
Attacler/Bart8mo ago
if you open devtools and make a change, is there any request that takes long before reponding?
Denoic
DenoicOP8mo ago
"all" takes a long time
No description
Denoic
DenoicOP8mo ago
but this is the name of the route like /dashboard/orders/all so yea
netwrx
netwrx8mo ago
There is probably some promise that needs being resolved before the page is rendered check your setup script
Denoic
DenoicOP8mo ago
omfg found it. It was the /dashboard route page not the /dashboard/orders/all page and it had a promise that was trying to connect to the profile document on firebase : / damn. Thank you guys after all you were right. Thanks
Attacler/Bart
Attacler/Bart8mo ago
no problem 🙂
Want results from more Discord servers?
Add your server