Skip to content

Commit

Permalink
Make update to caching information in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brokentone committed Jan 14, 2019
1 parent 35710b1 commit 781579a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -251,9 +251,7 @@ modules should be required in the subprocess collecting coverage:

## Caching

You can run `nyc` with the optional `--cache` flag, to prevent it from
instrumenting the same files multiple times. This can significantly
improve runtime performance.
`nyc`'s default behavior is to cache instrumented files to disk to prevent instrumenting source files multiple times, and speed `nyc` execution times. You can disable this behavior by running `nyc` with the `--cache false` flag. You can also change the default cache directory from `./node_modules/.cache/nyc` by setting the `--cacheDir` flag.

## Configuring `nyc`

Expand Down

0 comments on commit 781579a

Please sign in to comment.