thedeeno / web-component-tester-istanbul

Instanbul coverage reporting for projects being tested by web-component-tester
28 stars 29 forks source link

Instrumented code cache not cleared when run ends #30

Open dickp opened 8 years ago

dickp commented 8 years ago

The coverage middleware caches code it instruments. However, this cache is not cleared when the run ends.

This is a problem when calling web-component-tester from a long-running build tool such as a gulp watcher: subsequent test runs will get the old instrumented scripts, even if the files have been edited.

PR on its way...