瀏覽代碼

support react-native start

Daniel Zlotin 6 年之前
父節點
當前提交
6594505949
共有 3 個檔案被更改,包括 3 行新增1 行删除
  1. 1
    0
      index.android.js
  2. 1
    0
      index.ios.js
  3. 1
    1
      scripts/start.js

+ 1
- 0
index.android.js 查看文件

@@ -0,0 +1 @@
1
+require('./playground/index');

+ 1
- 0
index.ios.js 查看文件

@@ -0,0 +1 @@
1
+require('./playground/index');

+ 1
- 1
scripts/start.js 查看文件

@@ -6,5 +6,5 @@ function run() {
6 6
   exec.killPort(8081);
7 7
   exec.execSync(`watchman watch-del-all || true`);
8 8
   exec.execSync(`adb reverse tcp:8081 tcp:8081 || true`);
9
-  exec.execSync(`node ./node_modules/react-native/local-cli/cli.js start --root=./playground`);
9
+  exec.execSync(`node ./node_modules/react-native/local-cli/cli.js start`);
10 10
 }