From 750c633940c026b66ae4e947d9731c435d72b12d Mon Sep 17 00:00:00 2001 From: tehfailsafe Date: Wed, 1 Apr 2015 10:22:08 -0700 Subject: [PATCH] Add watchman permission errors Added quick reinstall --HEAD fix for watchman https://github.com/facebook/watchman/issues/90 --- docs/Troubleshooting.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index 8e332068a..e8fe8a094 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -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. -### Kill process on port 8081 +##### Kill process on port 8081 `$ sudo lsof -n -i4TCP:8081 | grep LISTEN` then @@ -29,7 +29,7 @@ then -### Change the port in Xcode +##### Change the port in Xcode Edit `AppDelegate.m` to use a different port. ``` // OPTION 1 @@ -41,3 +41,12 @@ Edit `AppDelegate.m` to use a different port. // iOS device are on the same Wi-Fi network. 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 +```