Fix #1813: Check package.yaml and cabal file modification times#1815
Conversation
1861549 to
c6e1fed
Compare
|
Hey, thanks for working on this, #1813 ought to be fixed one way or another. I don't like this approach because if the user accidentally |
|
@mgsloan but that's why how e.g. As mentioned, currently stock |
|
Yeah, I considered this further - since you'd have to |
|
@sol What do you think of making this part of hpack's behavior? Or is it not so necessary because you tend to explicitly run it. It surprised me a bit that hpack writing to the file was based on an equality check rather than timestamp check. |
|
Considering that this also resolves #1828, I think i ought to merge this. Thanks! One minor reason to do this in hpack is that hpack determines the output cabal file name. This isn't really an issue, though, since we enforce that there's only one cabal file per dir. |
Fix #1813: Check package.yaml and cabal file modification times
No description provided.