Skip to content

Commit 236c88e

Browse files
authored
chore: fix graphql yarn watch (#32578)
1 parent 48c2ba2 commit 236c88e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gulp/tasks/gulpGraphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ export async function nexusCodegenWatch () {
3535
}
3636

3737
export async function graphqlCodegen () {
38-
return spawned('gql-codegen', 'yarn graphql-codegen --config graphql-codegen.yml', {
38+
return spawned('gql-codegen', 'yarn graphql-codegen --config graphql/graphql-codegen.yml', {
3939
cwd: monorepoPaths.pkgDataContext,
4040
waitForExit: true,
4141
})
4242
}
4343

4444
export async function graphqlCodegenWatch () {
45-
const spawned = universalSpawn('graphql-codegen', ['--watch', '--config', 'graphql-codegen.yml'], {
45+
const spawned = universalSpawn('graphql-codegen', ['--watch', '--config', 'graphql/graphql-codegen.yml'], {
4646
cwd: monorepoPaths.pkgDataContext,
4747
})
4848
const dfd = pDefer()

0 commit comments

Comments
 (0)