rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Runner doesn't display standard output messages until the runner is stopped #392

Open sir4ur0n opened 5 years ago

sir4ur0n commented 5 years ago

This may not be easy to explain, but here we go: I'm using algebraic effects through freer-simple, and for some test I was using its Trace effect, which under the hood uses putStrLn to send messages to the standard output.

However I noticed when running through Intellij, the messages only appear when I stop the runner. In comparison, the messages appear instantly when running in CLI with stack exec.

rikvdkleij commented 5 years ago

Thanks for reporting!

This is similar issue as #378.

I have spend some time on it and could not find the cause. Any help is appreciated. I know almost for sure that is was working in the past.

rikvdkleij commented 5 years ago

It works again. Do not know why.