Skip to content

Commit

Permalink
Dance around issue #11
Browse files Browse the repository at this point in the history
Until we get enough tuits to fix up streaming BSER in the watchman CLI,
head off problem reports with using --persistent mode by encourage
people to use --server-encoding=json in our documentation

Addresses #31
Refs #11
  • Loading branch information
wez committed Mar 31, 2014
1 parent 190b547 commit 88c84d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ Changes the log level of your connection to the watchman service.
From the command line:

```bash
watchman --persistent log-level debug
watchman --server-encoding=json --persistent log-level debug
```

JSON:
Expand Down Expand Up @@ -850,7 +850,7 @@ interface, but you may also subscribe via the command line tool if you're
interested in observing the changes for yourself:

```bash
watchman -j -p <<-EOT
watchman -j --server-encoding=json -p <<-EOT
["subscribe", "/path/to/root", "mysubscriptionname", {
"expression": ["allof",
["type", "f"],
Expand Down Expand Up @@ -981,7 +981,8 @@ before any non-option arguments.

-o, --logfile=PATH Specify path to logfile

-p, --persistent Persist and wait for further responses
-p, --persistent Persist and wait for further responses.
You should probably also use --server-encoding=json

-n, --no-save-state Don't save state between invocations
Expand Down

0 comments on commit 88c84d6

Please sign in to comment.