larsthorup/mocha-vite-puppeteer

watch mode

Opened this issue · 2 comments

Only run tests impacted by changes to code / tests since last run.
How can this be done?

Regarding the "how", doesn't the vite server have watch mode which provides this information (files changed and their module-graph) to plugins?
https://vitejs.dev/guide/api-plugin.html#configureserver

Yes, that would probably be a good starting point!