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
614
614
void $ modifyVar' fileToFlags $ Map. insert hieYaml this_flags_map
615
615
void $ modifyVar' filesMap $ flip HM. union (HM. fromList (map ((,hieYaml) . fst ) $ concatMap toFlagsMap all_targets))
616
616
key1 <- extendKnownTargets all_targets
617
- key2 <- invalidateShakeCache
618
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
619
restartShakeSession VFSUnmodified " new component" [] $ do
620
+ key2 <- invalidateShakeCache
620
621
return [key1, key2]
621
- -- Invalidate all the existing GhcSession build nodes by restarting the Shake session
622
622
623
623
-- Typecheck all files in the project on startup
624
624
checkProject <- getCheckProject
You can’t perform that action at this time.
0 commit comments