rnx-kit icon indicating copy to clipboard operation
rnx-kit copied to clipboard

rnx-bundle runs the metro Server without "watch:false"

Open acoates-ms opened this issue 1 year ago • 5 comments

The command ends up either in @react-native-community/cli-plugin-metro buildBundleWithConfig or in @rnx-kit/metro-service calling new Server(config).

When doing a single bundle command it should use new Server(config, {watch:false}) to prevent the extra work of spinning up the jest-haste-map file watcher.

acoates-ms avatar Apr 07 '23 03:04 acoates-ms