From 2d258f4fa0bd9fa3bd497430d89fefb47134f91b Mon Sep 17 00:00:00 2001 From: Alex Kotliarskyi Date: Sat, 18 Apr 2015 20:09:03 -0700 Subject: [PATCH] Print server logs from e2e tests --- packager.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packager.sh b/packager.sh index 93a017c3..f763b9ba 100755 --- a/packager.sh +++ b/packager.sh @@ -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")