Fix launchCommand

Summary: public

Fixes #4055

Babel is failing to find the plugins when running scripts with the full path,
cd into the folder before starting the packager as a workaround.

Reviewed By: vjeux

Differential Revision: D2638529

fb-gh-sync-id: b57151d3091d56a2c070692fb6296184a8fc62de
This commit is contained in:
Tadeu Zagallo 2015-11-11 04:36:30 -08:00 committed by facebook-github-bot-3
parent a7338495f8
commit 70ad5943fa
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ echo -en "\033]0;React Packager\a"
clear clear
THIS_DIR=$(dirname "$0") THIS_DIR=$(dirname "$0")
$THIS_DIR/packager.sh pushd $THIS_DIR
source packager.sh
popd
echo "Process terminated. Press <enter> to close the window" echo "Process terminated. Press <enter> to close the window"
read read