@@ -248,7 +248,7 @@ indexFile = ".psci_modules" ++ pathSeparator : "index.js"
248make :: PSCiState -> [(Either P.RebuildPolicy FilePath, P.Module)] -> Make P.Environment
248make :: PSCiState -> [(Either P.RebuildPolicy FilePath, P.Module)] -> Make P.Environment
249make PSCiState{..} ms =
249make PSCiState{..} ms =
250 let filePathMap = M.fromList $ (first P.getModuleName . swap) `map` (psciLoadedModules ++ ms)
250 let filePathMap = M.fromList $ (first P.getModuleName . swap) `map` (psciLoadedModules ++ ms)
251− in P.make (buildMakeActions filePathMap M.empty) (psciLoadedModules ++ ms)
251+ in P.make (buildMakeActions filePathMap (M.map snd psciForeignFiles)) (psciLoadedModules ++ ms)
254-- Takes a value declaration and evaluates it with the current state.
254-- Takes a value declaration and evaluates it with the current state.