From c8bb67e716e484d2d4c1ba52f32049002a1d82a7 Mon Sep 17 00:00:00 2001 From: Johan Ruokangas Date: Wed, 14 Feb 2018 17:17:57 +0200 Subject: [PATCH] Pass port when running on device (fix #17973) --- local-cli/runIOS/runIOS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-cli/runIOS/runIOS.js b/local-cli/runIOS/runIOS.js index 37e649ba91d167..cb459a81c2d15e 100644 --- a/local-cli/runIOS/runIOS.js +++ b/local-cli/runIOS/runIOS.js @@ -68,7 +68,7 @@ function runIOS(argv, config, args) { if (args.device) { const selectedDevice = matchingDevice(devices, args.device); if (selectedDevice) { - return runOnDevice(selectedDevice, scheme, xcodeProject, args.configuration, args.packager, args.verbose); + return runOnDevice(selectedDevice, scheme, xcodeProject, args.configuration, args.packager, args.verbose, args.port); } else { if (devices && devices.length > 0) { console.log('Could not find device with the name: "' + args.device + '".');