react-native-navigation的迁移库

start.js 296B

1234567891011
  1. const exec = require('shell-utils').exec;
  2. run();
  3. function run() {
  4. exec.kill('8081');
  5. exec.execSync(`watchman watch-del-all || true`);
  6. exec.execSync(`adb reverse tcp:8081 tcp:8081 || true`);
  7. exec.execSync(`node ./node_modules/react-native/local-cli/cli.js start --root=./playground`);
  8. }