mirror of https://github.com/status-im/metro.git
[ReactNative] Backport packager logs redirect
This commit is contained in:
parent
4e96edb8b1
commit
98c10d72d2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue