File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/session-loader/Development/IDE Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -614,11 +614,11 @@ loadSessionWithOptions recorder SessionLoadingOptions{..} dir = do
614614 void $ modifyVar' fileToFlags $ Map. insert hieYaml this_flags_map
615615 void $ modifyVar' filesMap $ flip HM. union (HM. fromList (map ((,hieYaml) . fst ) $ concatMap toFlagsMap all_targets))
616616 key1 <- extendKnownTargets all_targets
617- key2 <- invalidateShakeCache
618617 -- 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
619619 restartShakeSession VFSUnmodified " new component" [] $ do
620+ key2 <- invalidateShakeCache
620621 return [key1, key2]
621- -- Invalidate all the existing GhcSession build nodes by restarting the Shake session
622622
623623 -- Typecheck all files in the project on startup
624624 checkProject <- getCheckProject
You can’t perform that action at this time.
0 commit comments