Kaynağa Gözat

support react-native start

Daniel Zlotin 6 yıl önce
ebeveyn
işleme
6594505949
3 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 1
    0
      index.android.js
  2. 1
    0
      index.ios.js
  3. 1
    1
      scripts/start.js

+ 1
- 0
index.android.js Dosyayı Görüntüle

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

+ 1
- 0
index.ios.js Dosyayı Görüntüle

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

+ 1
- 1
scripts/start.js Dosyayı Görüntüle

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