mocha-vite-puppeteer icon indicating copy to clipboard operation
mocha-vite-puppeteer copied to clipboard

watch mode

Open larsthorup opened this issue 3 years ago • 2 comments

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

larsthorup avatar Dec 19 '21 14:12 larsthorup

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

bjarkihall avatar Jan 09 '22 02:01 bjarkihall

Yes, that would probably be a good starting point!

larsthorup avatar Jan 12 '22 18:01 larsthorup