Fork me on GitHub
#kaocha
<
2022-12-23
>
simonkatz14:12:25

Hi. I have a couple of questions about watch mode. Firstly, I’ve noticed that if I save a file without making changes to the file (eg hit space, then backspace, then save), then files are not reloaded and tests are not run. Is there a way to make a reload happen and tests run in this situation? In case you’re wondering why I would want that, one example: it’s useful when you change a config file and want to force it to be re-read. In case it makes a difference, I'm on an M1 Mac. (I’ll ask the other question in a separate message so replies can be separated.)

simonkatz14:12:03

With watch mode, is it possible to only re-run tests in namespaces that depend on the namespaces that change? It would reduce the amount of work done and make things faster, but with the risk of not reporting all currently-failing tests.