isaacs/node-tap — Issue #27: coverage does too much file reading
Author: isaacs
Created: 2011-12-06 20:03:33+00:00
State: open

The coverage thing does this right now:

1. Read all files in the --cover dir
2. attach the coverage hook to apply to `/.*/`

This is unnecessarily costly. Also, it's using a bunch of sync io, which needs to be factored out.

It'd be better to just apply the coverage hook to the --cover dir, so it works without the second read.