That's already part of most IDE's and they know which tests to re-run, because of coverage, so it's really fast.

It also updates the coverage on the fly, you don't even have to look at the test output to know that you've broken something since the tests are not reaching your lines.

https://gavindraper.com/2020/05/27/VS-Code-Continious-Testin...