mirror of https://github.com/status-im/metro.git
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:
parent
a7338495f8
commit
70ad5943fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue