[ReactNative] Use --nonPersistent instead of ignoring node_modules on tests

This commit is contained in:
Tadeu Zagallo
2015-06-11 01:53:17 +01:00
parent a5212c8180
commit 53fb274071
2 changed files with 6 additions and 0 deletions

View File

@@ -20,9 +20,12 @@ function cleanup {
[ -f $REACT_PACKAGER_LOG ] && cat $REACT_PACKAGER_LOG
fi
[ $SERVER_PID ] && kill -9 $SERVER_PID
}
trap cleanup EXIT
node ./packager/packager.js -- --nonPersistent &
SERVER_PID=$!
xctool \
-project Examples/UIExplorer/UIExplorer.xcodeproj \
-scheme UIExplorer -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5,OS=8.3' \