Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing "--terminal" argument to run-android
Commit 79e498b claims that "--terminal" has been added as an argument to the "run-android" script which it hasn't. Instead it adds a new environment variable "process.env.REACT_TERMINAL" which seems to be undocumented and nowhere else in the repository. This commit now allows the user to specify their custom terminal as an argument as per the following: react-native run-android --terminal=x-terminal-emulator Additionally the child process "detached" option has been set to false if no terminal has been specified which fixes an issue where the packager would be running in the background and would have to manually be closed by finding the process. Fixes facebook#18122
- Loading branch information