Invalidate components cache when setup-config changed (Fix #684)
This commit is contained in:
parent
604f2c18b0
commit
a12a7fabc0
@ -210,7 +210,7 @@ resolvedComponentsCache distdir = Cached {
|
||||
filterOutSetupCfg =
|
||||
filter (/= cradleRootDir </> setupConfigPath distdir)
|
||||
changedFiles = filterOutSetupCfg iifs
|
||||
in if null changedFiles
|
||||
in if null changedFiles || setupChanged
|
||||
then Nothing
|
||||
else Just $ map Left changedFiles
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user