If Y.hs with module Y depends on module X in file X.hsc and I then make a change in X.hsc, then this change is not picked up by the buffer that holds Y.hs, which displays an error with red line and pop-up. It seems to happen because it is an hsc file. A restart of dante and resave of file Y.hs usually works.
Any ideas to make this happen automatically?
Dante is a "dumb" interface to GHCi. (In this case the ":r" and ":l" commands). Working around shortcomings of the build system of GHC(i) is out of scope for Dante.
Hi.
If Y.hs with module Y depends on module X in file X.hsc and I then make a change in X.hsc, then this change is not picked up by the buffer that holds Y.hs, which displays an error with red line and pop-up. It seems to happen because it is an hsc file. A restart of dante and resave of file Y.hs usually works. Any ideas to make this happen automatically?
My emacs configuration is: