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 0dbbd38 commit c21ce09Copy full SHA for c21ce09
ghcide/session-loader/Development/IDE/Session.hs
@@ -578,7 +578,7 @@ loadSessionWithOptions recorder SessionLoadingOptions{..} rootDir que = do
578
-- Typecheck all files in the project on startup
579
checkProject <- getCheckProject
580
unless (null new_deps || not checkProject) $ do
581
- cfps' <- liftIO $ filterM (IO.doesFileExist . fromNormalizedFilePath) (concatMap targetLocations all_targets)
+ cfps' <- liftIO $ filterM (IO.doesFileExist . fromNormalizedFilePath) (nub $ concatMap targetLocations all_targets)
582
void $ shakeEnqueue extras $ mkDelayedAction "InitialLoad" Debug $ void $ do
583
mmt <- uses GetModificationTime cfps'
584
let cs_exist = catMaybes (zipWith (<$) cfps' mmt)
0 commit comments