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

Commit

Permalink
[added] the "Troubleshooting" section to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thealjey committed Feb 11, 2017
1 parent 2e62ccb commit d31bb2b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Any feedback on **[Discord]** would be greatly appreciated. It does not require

### Prerequisites

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)
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)

### A note about [Facebook Flow]

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

### Troubleshooting

#### `watch`

1. If you've installed [Watchman] on OSX with homebrew and you notice that it suddenly stopped working, try the following:
* `launchctl unload -F ~/Library/LaunchAgents/com.github.facebook.watchman.plist`
* `rm -rf /usr/local/var/run/watchman/`
* reinstall [Watchman] completely
* 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

[Discord]: https://discord.gg/0blXIxApyTu9qXno
[Facebook Flow]: http://flowtype.org/
[Watchman]: https://facebook.github.io/watchman/docs/install.html

0 comments on commit d31bb2b

Please sign in to comment.