aleclarson / testpass

The compass for your code
MIT License
0 stars 0 forks source link

Support added files in watch mode #20

Open aleclarson opened 6 years ago

aleclarson commented 6 years ago

The test runner crashes if a file is renamed in watch mode.

aleclarson commented 6 years ago

In 0.9.0, the runner doesn't crash, but new files don't trigger a rerun. This is expected behavior.

In the future, we could detect new test files using the pattern passed to findTests. As for non-test files, we could check if their package root is used by any of the test files (directly or not).