react-native-navigation的迁移库

start.js 278B

1234567891011
  1. const exec = require('shell-utils').exec;
  2. run();
  3. function run() {
  4. exec.killPort(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`);
  8. }