Disable buffering to fix Docker logs
This commit is contained in:
parent
c186ecf521
commit
6d6f6f32aa
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
module Main where
|
module Main where
|
||||||
|
|
||||||
|
import System.IO (BufferMode (NoBuffering), hSetBuffering, stdout)
|
||||||
import Options.Applicative
|
import Options.Applicative
|
||||||
import Myriad
|
import Myriad
|
||||||
|
|
||||||
|
@ -31,5 +32,6 @@ parseArgs = execParser $ info (helper <*> args) (fullDesc <> progDesc "Run the M
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
|
hSetBuffering stdout NoBuffering
|
||||||
Args { configPath, languagesDir } <- parseArgs
|
Args { configPath, languagesDir } <- parseArgs
|
||||||
runMyriadServer configPath languagesDir
|
runMyriadServer configPath languagesDir
|
||||||
|
|
Loading…
Reference in a new issue