Simple and efficient CLI IDE for Haskell that reloads code on file changes. Continuously displays compile errors, warnings, and test results. More information: https://github.com/ndmitchell/ghcid.
ghcid
and monitor a Haskell file for changes:ghcid path/to/Main.hs
ghcid
with a specific command, such as loading a Stack or Cabal project:ghcid --command "stack ghci Main.hs"
main
) on each file save:ghcid --run=action path/to/Main.hs
ghcid --height=height --width=width path/to/Main.hs
ghcid --outputfile=path/to/output_file.txt path/to/Main.hs
-- $> 1+1
) on each file save:ghcid --allow-eval path/to/Main.hs