Skip to content

Commit

Permalink
Return the linked app in dev command
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacroldan committed Oct 18, 2024
1 parent 9d70ed8 commit 6e797a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/cli/commands/app/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ If you're using the PHP or Ruby app template, then you need to complete the foll
graphiqlKey: flags['graphiql-key'],
}

const result = await dev(devOptions)
return {app: result.app}
await dev(devOptions)
return {app: appContextResult.app}
}
}
1 change: 0 additions & 1 deletion packages/app/src/cli/services/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export async function dev(commandOptions: DevOptions) {
const {processes, graphiqlUrl, previewUrl} = await setupDevProcesses(config)
await actionsBeforeLaunchingDevProcesses(config)
await launchDevProcesses({processes, previewUrl, graphiqlUrl, config})
return {app: config.localApp}
}

async function prepareForDev(commandOptions: DevOptions): Promise<DevConfig> {
Expand Down

0 comments on commit 6e797a3

Please sign in to comment.