Merge pull request #585 from tehfailsafe/patch-2
Add watchman permission errors
This commit is contained in:
commit
a597809cfa
|
@ -20,7 +20,7 @@ If you are using a non-QWERTY/AZERTY keyboard layout you can use the `Hardware >
|
||||||
|
|
||||||
Something is probably already running on port 8081. You can either kill it or try to change which port the packager is listening to.
|
Something is probably already running on port 8081. You can either kill it or try to change which port the packager is listening to.
|
||||||
|
|
||||||
### Kill process on port 8081
|
##### Kill process on port 8081
|
||||||
`$ sudo lsof -n -i4TCP:8081 | grep LISTEN`
|
`$ sudo lsof -n -i4TCP:8081 | grep LISTEN`
|
||||||
|
|
||||||
then
|
then
|
||||||
|
@ -29,7 +29,7 @@ then
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Change the port in Xcode
|
##### Change the port in Xcode
|
||||||
Edit `AppDelegate.m` to use a different port.
|
Edit `AppDelegate.m` to use a different port.
|
||||||
```
|
```
|
||||||
// OPTION 1
|
// OPTION 1
|
||||||
|
@ -41,3 +41,12 @@ Edit `AppDelegate.m` to use a different port.
|
||||||
// iOS device are on the same Wi-Fi network.
|
// iOS device are on the same Wi-Fi network.
|
||||||
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9381/index.ios.bundle"];
|
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9381/index.ios.bundle"];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Watchman took too long to load
|
||||||
|
Permission settings prevent Wathcman to load. A recent update solves this, get a HEAD install of Watchman if you are experiening this error.
|
||||||
|
|
||||||
|
```
|
||||||
|
brew uninstall watchman
|
||||||
|
brew install --HEAD watchman
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue