Skip to content

Commit

Permalink
Update --poll documentation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 2, 2018
1 parent 1e8ad66 commit 7b5c038
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -82,12 +82,12 @@ To hold the events until the size does not change for a configurable amount of t
onchange --await-write-finish '**/*.js' -- npm test
```

### Poll (`-p`, `--poll`)
### Poll (`-p <ms>`, `--poll <ms>`)

Use polling to monitor for changes. Omitting the interval will default to 100ms. This option is useful if you're watching an NFS volume.
Use polling to monitor for changes. This option is useful if you're watching an NFS volume.

```sh
onchange -p '**/*.js' -- npm test
onchange -p 100 '**/*.js' -- npm test
```

### Outpipe (`-o`, `--outpipe`)
Expand Down

0 comments on commit 7b5c038

Please sign in to comment.