react-native/local-cli/runIOS
joaogranado 52dea5db64 Add no-packager option to run-android and run-ios commands
Summary:
Currently, while running `react-native run-android` command, React Native's packager is launched, and there is not any way to disable the current behaviour. This is handled somehow on iOS by adding an environment variable `RCT_NO_LAUNCH_PACKAGER` (see #6180).

This is a cross-platform solution that adds the `--no-packager` option both to `run-ios` and `run-android`, which prevents the packager from being launched.

This was tested by building with and without the option, on both environments (Android and iOS) using the device and simulator, working as expected.
Closes https://github.com/facebook/react-native/pull/11735

Differential Revision: D4392170

Pulled By: ericvicenti

fbshipit-source-id: 1c31f109f18715b84cd5ab1b6d5fd758cd0a6efb
2017-01-09 03:28:29 -08:00
..
__tests__ Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
findMatchingSimulator.js Make run-ios find if a device is booted better 2016-12-01 09:58:32 -08:00
findXcodeProject.js Added `react-native run-ios` 2016-01-05 17:18:49 -08:00
parseIOSDevicesList.js cli run-ios on device 2016-09-06 08:13:41 -07:00
runIOS.js Add no-packager option to run-android and run-ios commands 2017-01-09 03:28:29 -08:00