Skip to content

Commit

Permalink
self CR
Browse files Browse the repository at this point in the history
  • Loading branch information
filip131311 committed Dec 19, 2024
1 parent 793d3fa commit c454c18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion packages/vscode-extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export async function activate(context: ExtensionContext) {
await setupAppRoot();

// restart here
Project.currentProject?.restart(true, false, true);
Project.currentProject?.reload("reboot");
}
})
);
Expand Down
21 changes: 0 additions & 21 deletions packages/vscode-extension/src/panels/LaunchConfigController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,6 @@ export class LaunchConfigController implements Disposable, LaunchConfig {
private configListener: Disposable;

constructor() {
// const getCurrentConfig = (): LaunchConfigurationOptions => {
// const launchConfiguration = workspace.getConfiguration(
// "launch",
// workspace.workspaceFolders![0].uri
// );

// const configurations = launchConfiguration.get<Array<Record<string, any>>>("configurations")!;

// const RNIDEConfiguration = configurations.find(
// ({ type }) => type === "react-native-ide" || type === "radon-ide" // for compatibility we want to support old configuration type name
// );

// if (!RNIDEConfiguration) {
// return {};
// }

// const { android, appRoot, ios, isExpo, metroConfigPath, env, eas } = RNIDEConfiguration;

//return { android, appRoot, ios, isExpo, metroConfigPath, env, eas };
//};

this.config = getCurrentLaunchConfig();

this.configListener = workspace.onDidChangeConfiguration((event: ConfigurationChangeEvent) => {
Expand Down

0 comments on commit c454c18

Please sign in to comment.