Skip to content

Commit

Permalink
Properly set --watch option.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosalyntan committed Sep 24, 2024
1 parent 493a61e commit d01285c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/commands/dataconnect-sdk-generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ type GenerateOptions = Options & { watch?: boolean };

export const command = new Command("dataconnect:sdk:generate")
.description("generates typed SDKs for your Data Connect connectors")
.option(
"--watch",
"watch for changes to your connector GQL files and regenerate your SDKs when updates occur",
)
.action(async (options: GenerateOptions) => {
const projectId = needProjectId(options);

Expand Down

0 comments on commit d01285c

Please sign in to comment.