We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57abfdb commit ceff45bCopy full SHA for ceff45b
src/nitro/setup.ts
@@ -69,8 +69,10 @@ export async function setupNitroGraphQL(nitro: Nitro): Promise<void> {
69
// Step 5.5: Resolve extend directories for file watching
70
const extendDirs = await resolveExtendDirs(nitro)
71
72
- // Step 6: Setup file watching (dev mode)
73
- setupFileWatching(nitro, serverEnabled, extendDirs)
+ // Step 6: Setup file watching (dev mode only)
+ if (nitro.options.dev) {
74
+ setupFileWatching(nitro, serverEnabled, extendDirs)
75
+ }
76
77
// Step 7: Scan GraphQL files and resolve extend config
78
// performGraphQLScan handles skipLocalScan, serverEnabled, and extend resolution
0 commit comments