Skip to content

Commit

Permalink
docs: clarify watch option (n/a with useTypescriptIncrementalApi) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
russelldavis authored and johnnyreilly committed Jul 13, 2019
1 parent 544f205 commit 34b16c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ It helps to distinguish lints from TypeScript's diagnostics.
Passes on `--fix` flag while running `tslint` to auto fix linting errors. Default: false.

- **watch** `string | string[]`:
Directories or files to watch by service. Not necessary but improves performance (reduces number of `fs.stat` calls).
Directories or files to watch by service. Not necessary but improves performance (reduces number of `fs.stat` calls). Not applicable when `useTypescriptIncrementalApi` is `true`, in which case watching is handled automatically.

- **async** `boolean`:
True by default - `async: false` can block webpack's emit to wait for type checker/linter and to add errors to the webpack's compilation.
Expand Down

0 comments on commit 34b16c5

Please sign in to comment.