Skip to content

Commit

Permalink
Use reloadMetro in goHome for non expo-router projects
Browse files Browse the repository at this point in the history
  • Loading branch information
p-malecki committed Sep 9, 2024
1 parent 663d217 commit d144cb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vscode-extension/src/project/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ export class Project
public async goHome(homeUrl: string) {
if (this.expoRouterInstalled) {
await this.openNavigation(homeUrl);
} else {
await this.reloadMetro();
}
}

Expand Down

0 comments on commit d144cb2

Please sign in to comment.