You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that almost any time I have a file change in a project, stack build will run the Cabal configure step, slowing down compilations. I've traced this down to some issue with stack-setup-config-mod, and it appears that the file we're checking for dirtiness does not exist, triggering regular rebuilds.
I did a blame, and I think this comes down to this commit:
It looks to me like stack-setup-config-mod is never being created in this commit. If I'm not mistaken, we need to add an equivalent to the writeCabalMod call that appears in this module.
CC @qrilka, I can take a stab at a PR, but input on this would be appreciated.
The text was updated successfully, but these errors were encountered:
I've noticed that almost any time I have a file change in a project,
stack build
will run the Cabal configure step, slowing down compilations. I've traced this down to some issue withstack-setup-config-mod
, and it appears that the file we're checking for dirtiness does not exist, triggering regular rebuilds.I did a blame, and I think this comes down to this commit:
681ca33
It looks to me like
stack-setup-config-mod
is never being created in this commit. If I'm not mistaken, we need to add an equivalent to thewriteCabalMod
call that appears in this module.CC @qrilka, I can take a stab at a PR, but input on this would be appreciated.
The text was updated successfully, but these errors were encountered: