Merge pull request #741 from ShinKage/ide-flush

Flush stdout in IDE mode first message
This commit is contained in:
Matúš Tejiščák 2020-10-14 09:12:37 +02:00 committed by GitHub
commit 1483b61091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,7 @@ initIDESocketFile h p = do
pure (Left ("Failed to listen on socket with error: " ++ show res))
else
do putStrLn (show p)
fflush stdout
res <- accept sock
case res of
Left err =>