We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013650b commit e10d135Copy full SHA for e10d135
ghcide/session-loader/Development/IDE/Session.hs
@@ -613,10 +613,10 @@ loadSessionWithOptions recorder SessionLoadingOptions{..} dir = do
613
614
void $ modifyVar' fileToFlags $ Map.insert hieYaml this_flags_map
615
void $ modifyVar' filesMap $ flip HM.union (HM.fromList (map ((,hieYaml) . fst) $ concatMap toFlagsMap all_targets))
616
- key1 <- extendKnownTargets all_targets
617
-- The VFS doesn't change on cradle edits, re-use the old one.
618
-- Invalidate all the existing GhcSession build nodes by restarting the Shake session
619
restartShakeSession VFSUnmodified "new component" [] $ do
+ key1 <- extendKnownTargets all_targets
620
key2 <- invalidateShakeCache
621
return [key1, key2]
622
0 commit comments