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 8cd250b commit f29795bCopy full SHA for f29795b
server/Main.hs
@@ -46,6 +46,7 @@ import qualified Network.Wai.Handler.Warp as Warp
46
import System.Environment (getArgs)
47
import System.Exit (exitFailure)
48
import System.FilePath.Glob (glob)
49
+import qualified System.IO as IO
50
import Web.Scotty
51
import qualified Web.Scotty as Scotty
52
@@ -227,6 +228,8 @@ tryParseType = hush . fmap (CST.convertType "<file>") . runParser CST.parseTypeP
227
228
229
main :: IO ()
230
main = do
231
+ -- Stop mangled "Compiling ModuleName" text
232
+ IO.hSetBuffering IO.stderr IO.LineBuffering
233
(portString : inputGlobs) <- getArgs
234
let port = read portString
235
inputFiles <- concat <$> traverse glob inputGlobs
0 commit comments