ghcid
Auto-reloading daemon for rapid Haskell development
TLDR
Start with default settings
SYNOPSIS
ghcid [options]
DESCRIPTION
ghcid (GHCi daemon) provides rapid Haskell development feedback by running GHCi in the background, watching source files, and automatically reloading on changes. Errors and warnings are displayed immediately.
The tool minimizes the compile-fix-compile cycle by providing instant feedback. It integrates with cabal, stack, and bare GHCi. The --test option runs expressions after successful compilation, enabling continuous testing.
PARAMETERS
--command CMD
GHCi command to run.--target TARGET
Target to load.--test EXPR
Expression to run after reload.--reload PATH
Additional paths to watch.--restart PATH
Paths that trigger full restart.--title
Update terminal title with status.--help
Display help information.
CAVEATS
Requires GHCi setup working correctly. Large projects may have reload delays. Watch paths need correct configuration.
HISTORY
ghcid was created by Neil Mitchell to provide fast feedback during Haskell development, becoming a popular development tool in the Haskell ecosystem.
