File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
ghcide/session-loader/Development/IDE Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -615,9 +615,10 @@ loadSessionWithOptions recorder SessionLoadingOptions{..} dir = do
615615 void $ modifyVar' filesMap $ flip HM. union (HM. fromList (map ((,hieYaml) . fst ) $ concatMap toFlagsMap all_targets))
616616 -- The VFS doesn't change on cradle edits, re-use the old one.
617617 -- Invalidate all the existing GhcSession build nodes by restarting the Shake session
618- invalidateShakeCache
619- -- The VFS doesn't change on cradle edits, re-use the old one.
620- restartShakeSession VFSUnmodified " new component" []
618+ keys2 <- invalidateShakeCache
619+ restartShakeSession VFSUnmodified " new component" [] $ do
620+ keys1 <- extendKnownTargets all_targets
621+ return [keys1, keys2]
621622
622623 -- Typecheck all files in the project on startup
623624 checkProject <- getCheckProject
You can’t perform that action at this time.
0 commit comments