sensei
sensei copied to clipboard
Sometimes GHCi gets stuck
Every once in a while, when I'm editing A.hs
, the following happens:
--> /home/m/git/stuff/src/4913
--> /home/m/git/stuff/src/A.hs
src/B.hs:10:20:
Could not find module ‘A’
Use -v to see a list of the files searched for.
--> /home/m/git/stuff/src/A.hs
[66 of 69] Compiling A ( src/A.hs, interpreted )
[67 of 69] Compiling B ( src/B.hs, interpreted ) [A changed]
src/B.hs:10:1:
Failed to load interface for ‘A’
Use -v to see a list of the files searched for.
Once it does, there's no way out of it besides relaunching sensei
AFAICT. This appears to be Vim-related (maybe sensei
should not trigger a reload on creation of 4913
?).
After some experimentation, I believe the problem is unrelated to 4913
, although it may be exacerbated by it; GHCi still gets stuck on Failed to load interface for
, albeit less frequently, even if changes to anything that looks like 4913
are ignored.