Skip to content

Commit b514bcc

Browse files
committed
packager changes
1 parent 5f67adb commit b514bcc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ios/Sample/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4848

4949
#ifdef TEST_ENVIRONMENT
5050
// different port
51-
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8082/index.ios.bundle?platform=ios&dev=true"];
51+
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9091/index.ios.bundle?platform=ios&dev=true"];
5252
#else
5353
#if TARGET_IPHONE_SIMULATOR
5454
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];

test/helpers/packager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// node /Users/brian/taskrabbit/tasker/ios/node_modules/react-native/packager/packager.js --port 9091
33

44
var pwd = process.cwd();
5-
var path = pwd + '/node_modules/react-native/packager/packager.js'
5+
var path = pwd + '/node_modules/react-native/packager/packager.sh'
66

77
var child_process = require('child_process');
8-
var packager = child_process.spawn('node', [path, '--port', '9091']);
8+
var packager = child_process.spawn(path, ['--port', '9091']);
99

1010
var packagerReady = false;
1111

0 commit comments

Comments
 (0)