Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

Commit d31bb2b

Browse files
committed
[added] the "Troubleshooting" section to README.md
1 parent 2e62ccb commit d31bb2b

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Any feedback on **[Discord]** would be greatly appreciated. It does not require
3838

3939
### Prerequisites
4040

41-
1. [Watchman](https://facebook.github.io/watchman/docs/install.html) (only required by the `watch` function and the `DevServer` class; you don't need to know how it works, all you need to do is install it)
41+
1. [Watchman] \(only required by the `watch` function and the `DevServer` class; you don't need to know how it works, all you need to do is install it)
4242

4343
### A note about [Facebook Flow]
4444

@@ -83,5 +83,16 @@ The resulting JavaScript and CSS files from `fe` in `production` mode are gzip c
8383
(see [Gzip Components](https://developer.yahoo.com/performance/rules.html#gzip)), so make sure to provide a
8484
**"Content-Encoding"** header to the browser (e.g. `res.setHeader('Content-Encoding', 'gzip');`).
8585

86+
### Troubleshooting
87+
88+
#### `watch`
89+
90+
1. If you've installed [Watchman] on OSX with homebrew and you notice that it suddenly stopped working, try the following:
91+
* `launchctl unload -F ~/Library/LaunchAgents/com.github.facebook.watchman.plist`
92+
* `rm -rf /usr/local/var/run/watchman/`
93+
* reinstall [Watchman] completely
94+
* if that does not solve your problem or the above steps do not apply to you report a bug describing your operating system version, [Watchman] version, webcompiler version, and your specific problem
95+
8696
[Discord]: https://discord.gg/0blXIxApyTu9qXno
8797
[Facebook Flow]: http://flowtype.org/
98+
[Watchman]: https://facebook.github.io/watchman/docs/install.html

0 commit comments

Comments
 (0)