We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requires vitejs/vite#10324 and vitejs/vite#10333 (Vite 3.2, which is in nuxt rc 13). Then the following should work:
let viteServer: ViteDevServer | undefined; if (nuxt.options.dev) { nuxt.hook('vite:serverCreated', (devServer: ViteDevServer, ctx) => { if (ctx.isServer) { viteServer = devServer; } }); } // If schema file changes: viteServer.reloadModule("#graphql/schema")
Same for updating the template using updateTemplate, which will be introduced in nuxt rc13.
updateTemplate
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Requires vitejs/vite#10324 and vitejs/vite#10333 (Vite 3.2, which is in nuxt rc 13). Then the following should work:
Same for updating the template using
updateTemplate
, which will be introduced in nuxt rc13.The text was updated successfully, but these errors were encountered: