Pārlūkot izejas kodu

support react-native start

Daniel Zlotin 6 gadus atpakaļ
vecāks
revīzija
6594505949
3 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 1
    0
      index.android.js
  2. 1
    0
      index.ios.js
  3. 1
    1
      scripts/start.js

+ 1
- 0
index.android.js Parādīt failu

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

+ 1
- 0
index.ios.js Parādīt failu

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

+ 1
- 1
scripts/start.js Parādīt failu

@@ -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
 }