12345678910111213141516171819 |
- const exec = require('shell-utils').exec;
-
- run();
-
- function run() {
- exec.killPort(8081);
- exec.execSync(`watchman watch-del-all || true`);
- exec.execSync(`adb reverse tcp:8081 tcp:8081 || true`);
- exec.execSync(`rm -rf lib/ios/DerivedData`);
- exec.execSync(`rm -rf playground/ios/DerivedData`);
- exec.execSync(`rm -rf lib/android/build`);
- exec.execSync(`rm -rf lib/android/app/build`);
- exec.execSync(`rm -rf playground/android/build`);
- exec.execSync(`rm -rf playground/android/app/build`);
- exec.execSync(`rm -rf AndroidE2E/android/build`);
- exec.execSync(`rm -rf AndroidE2E/android/app/build`);
- exec.execSync(`rm -rf lib/dist`);
- }
|