Skip to content

Commit 471f4d4

Browse files
committed
README.md: add how to use GHCID with nix-shell also
1 parent cc468af commit 471f4d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ cabal v2-build
6464
cabal v2-repl
6565
```
6666

67+
4. Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid):
68+
```
69+
ghcid --command="cabal v2-repl --repl-options=-fno-code --repl-options=-fno-break-on-exception --repl-options=-fno-break-on-error --repl-options=-v1 --repl-options=-ferror-spans --repl-options=-j"
70+
```
71+
(optional) To use projects reproducible environment, wrap `ghcid ...` command into a `nix-shell --command ' '`.
72+
73+
For simplicity alias it for your shell.
74+
6775
3. Testing:
6876

6977
* Default suite:

0 commit comments

Comments
 (0)