@@ -24,14 +24,14 @@ main =
24 do rArtifacts <- Artifacts.loadRepl
24 do rArtifacts <- Artifacts.loadRepl
25 cArtifacts <- Artifacts.loadCompile
25 cArtifacts <- Artifacts.loadCompile
26 errorJS <- Compile.loadErrorJS
26 errorJS <- Compile.loadErrorJS
27− let editorHints = Artifacts.toEditorHints cArtifacts
27+ let depsInfo = Artifacts.toDepsInfo cArtifacts
29 httpServe config $ msum $
29 httpServe config $ msum $
30 [ ifTop $ status
30 [ ifTop $ status
31 , path "repl" $ Repl.endpoint rArtifacts
31 , path "repl" $ Repl.endpoint rArtifacts
32 , path "compile" $ Compile.endpoint cArtifacts
32 , path "compile" $ Compile.endpoint cArtifacts
33 , path "compile/errors.js" $ writeBS errorJS
33 , path "compile/errors.js" $ writeBS errorJS
34− , path "compile/editor-hints.json" $ writeBS editorHints
34+ , path "compile/deps-info.json" $ writeBS depsInfo
35 , notFound
35 , notFound