ryanluker / vscode-coverage-gutters

Display test coverage generated by lcov and xml - works with many languages
https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters
MIT License
460 stars 88 forks source link

`watch`not triggered #102

Closed stoffeastrom closed 6 years ago

stoffeastrom commented 6 years ago

I have a use case where I'm watching files and writing a lcov file with NYC on the fly. However this doesn't trigger an update. If I'm not watching the files and exit the process it works. It might be connected to this

ryanluker commented 6 years ago

@stoffeastrom Thanks for the issue and the research! I will take a look at this next weekend probably with the other bugs associated with https://github.com/ryanluker/vscode-coverage-gutters/milestone/14.

stoffeastrom commented 6 years ago

@ryanluker I've been doing some more investigation and it seems like I can't get the correct coverage when I'm watching and generate a new coverage file on the fly from NYC. It might not be an issue with this plugin at all.

stoffeastrom commented 6 years ago

@ryanluker I solved my problem. However using multi root one of the vscode processes is using 100% cpu. Will do some more investigation!

It's super cool to get live coverage in a file though :)

stoffeastrom commented 6 years ago

I will make another issue regarding multi root