haskell / hie-bios

Set up a GHC API session for various Haskell Projects
https://hackage.haskell.org/package/hie-bios
BSD 3-Clause "New" or "Revised" License
181 stars 63 forks source link

Log at INFO before running commands #372

Closed michaelpj closed 1 year ago

michaelpj commented 2 years ago

Especially potentially long-running ones like calling cabal or stack.

I demoted the process output to DEBUG, but that now means there's no feedback when we might be slowly building all the project deps. It would be helpful to emit an INFO message to tell the user what we're doing, e.g.

INFO: executing command: cabal repl ...

or even

INFO: invoking build tool to determine build flags (this may take some time depending on the cache)
INFO: executing command: cabal repl ...
fendor commented 1 year ago

I think this is implemented, feel free to reopen if it is not