Open
Description
Steps to reproduce:
- Build a project with new-build
- Modify a file in the project
- Trigger a recompilation, but before GHC is done executing, C^C it
- Revert the modified file to its old version
- Trigger a recompilation
Expected result: Cabal recompiles
Actual result: Cabal reports that there is nothing to do.
Ostensibly, the problem is that before we start a recompile, we need to invalidate the old cached entry until the recompile finishes, so that we can handle an interrupt.