[ReactNative] Backport packager logs redirect

This commit is contained in:
Alex Kotliarskyi 2015-04-22 16:30:27 -07:00
parent 4e96edb8b1
commit 98c10d72d2
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
if [ $REACT_PACKAGER_LOG ];
then
echo "Logs will be redirected to $REACT_PACKAGER_LOG"
exec &> $REACT_PACKAGER_LOG
fi
ulimit -n 4096
THIS_DIR=$(dirname "$0")