haskell-ide-engine icon indicating copy to clipboard operation
haskell-ide-engine copied to clipboard

hie-bios: hi-boot files are always recompiled on save

Open mpickering opened this issue 5 years ago • 3 comments

For some reason on the hie-bios branch when you change a file, all dependent hs-boot files are recompiled as well. This doesn't happen in GHCi when you reload a file.

It is even more confusing as the hi-boot files are definitely created but don't seem to be used during recompilation.

Not going to investigate this a lot now as hs-boot files are quite rare.

mpickering avatar Apr 16 '19 09:04 mpickering

Chiming in to say this appears to be affecting me - it looks like almost every time I change something nearly my entire project recompiles from scratch, which takes multiple seconds

glittershark avatar May 18 '20 13:05 glittershark

This isn't going to be fixed in hie at this point. You should try ghcide, where this doesn't happen.

mpickering avatar May 18 '20 13:05 mpickering

oh, lovely

glittershark avatar May 18 '20 13:05 glittershark