Skip to content

Commit

Permalink
Fixed app loaded twice on first start
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jun 2, 2023
1 parent d46d75b commit 1c8756d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exe/IHP/IDE/DevServer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ startAppGHCI = do
libDirectory <- LibDir.findLibDirectory

let loadAppCommands =
[ ":script " <> cs libDirectory <> "/applicationGhciConfig"
, ":set prompt \"\"" -- Disable the prompt as this caused output such as '[38;5;208mIHP>[m Ser[v3e8r; 5s;t2a0r8tmedI' instead of 'Server started'
[ -- The app is loaded by loading .ghci, which then loads applicationGhciConfig, which triggers a ':l Main.hs'
":set prompt \"\"" -- Disable the prompt as this caused output such as '[38;5;208mIHP>[m Ser[v3e8r; 5s;t2a0r8tmedI' instead of 'Server started'
, "import qualified ClassyPrelude"
]

Expand Down

0 comments on commit 1c8756d

Please sign in to comment.