hot reload issue
Environment
- Operating System:
Linux - Node Version:
v18.12.1 - Nuxt Version:
0.0.0 - Nitro Version:
- - Package Manager:
unknown - Builder:
webpack - User Config:
- - Runtime Modules:
- - Build Modules:
-
Describe the bug
Hi,
When I edit gql document, add/remove fields for retrieval, I do see hot reload in the console
[nuxt-graphql-client] ✔ [GraphQL Client]: Generation completed in 1004ms
but when I inspect data in the browser, it stays the same as before. Meaning, new/edited fields aren't there.
Every time I edit gql document, I have to restart Nuxt dev server.
Is there any known cause to this?
Expected behaviour
To see updated in the browser once client makes a request.
Reproduction
No response
Additional context
No response
Logs
No response
it only happens with codegen enabled
+1
Can confirm: This still is a bug.
Looks like this is related: https://github.com/nuxt/nuxt/issues/26648