From c6a3052c73379eaffa08fd8a6a843c1ebebe2175 Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Wed, 11 Nov 2015 04:36:30 -0800 Subject: [PATCH] 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 --- packager/launchPackager.command | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packager/launchPackager.command b/packager/launchPackager.command index ec0f417a5..0d08a298a 100755 --- a/packager/launchPackager.command +++ b/packager/launchPackager.command @@ -12,7 +12,9 @@ echo -en "\033]0;React Packager\a" clear THIS_DIR=$(dirname "$0") -$THIS_DIR/packager.sh +pushd $THIS_DIR +source packager.sh +popd echo "Process terminated. Press to close the window" read