arion
arion copied to clipboard
Adding a source file as an import in a test file
When I am in a session where a source and test file are not associated, and I add a new import to a test file, it doesn't get associated.
Related to #5
i think the model to use here is to keep the associated files in an IORef, and when an Added event comes in, recompute them. This should also be done when a file is removed, else we'll keep trying to run deleted specs.
Still haven't found the time to pick this up.
Trying to come up with things that can happen so that we can figure out how to handle each case.
Source file changes
- New imports can be added
- Imports can be deleted
- Module name can be changed
- File can be deleted
Test file changes
- New imports can be added
- Imports can be deleted
- File can be deleted
Am I missing anything?