File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @rnx-kit/cli " : patch
3
+ ---
4
+
5
+ Fix ` run ` command crashing if the ` build ` command was not invoked first
Original file line number Diff line number Diff line change 1
1
import type { Config } from "@react-native-community/cli-types" ;
2
+ import { RNX_FAST_PATH } from "./bin/constants" ;
2
3
import { rnxBuildCommand } from "./build" ;
3
4
import type { InputParams } from "./build/types" ;
4
5
import { runAndroid } from "./run/android" ;
@@ -24,6 +25,9 @@ export function rnxRun(
24
25
}
25
26
26
27
export const rnxRunCommand = {
28
+ // The run command may invoke the build command which currently requires
29
+ // loading the full config.
30
+ [ RNX_FAST_PATH ] : false ,
27
31
name : "rnx-run" ,
28
32
description :
29
33
"Build and run your native app for testing in emulator/simulator or on device" ,
You can’t perform that action at this time.
0 commit comments