Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ export function startServerInNewWindow(
? `set RCT_METRO_PORT=${port}\nset PROJECT_ROOT=${projectRoot}\nset REACT_NATIVE_PATH=${reactNativePath}`
: `export RCT_METRO_PORT=${port}\nexport PROJECT_ROOT=${projectRoot}\nexport REACT_NATIVE_PATH=${reactNativePath}`;
const nodeModulesPath = resolveNodeModuleDir(projectRoot, '.bin');
const cliPluginMetroPath = path.dirname(
require.resolve('@react-native-community/cli-plugin-metro/package.json'),
const cliPluginMetroPath = path.join(
path.dirname(
require.resolve('@react-native-community/cli-plugin-metro/package.json'),
),
'build',
);

/**
Expand Down