Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
launchPackager
step from Xcode (#227)
When packager is being launched by Xcode during run phase (by `launchPackager.command`), current working directory is set to `/`. This results in an awkward error saying "Cannot find /node_modules/.bin/haul" (note it looks in wrong folder - in this case, top level one). In order for this to function properly, we need to use $THIS_DIR variable that is set by `launchPackager.command` before executing `packager.sh` script.
- Loading branch information