on master help sign in
Use -ignore-dot-ghci with ghcid

Without it, ob run/watch will flash when .ghci contains `:set +t`

commit5e48cb216fddeb0edf8e61cf2ed0591f57924bef authorTom Smalley <tfsmalley@gmail.com> dateMon 1 Oct 2018, 13:37 (8 years ago) parentf3c24a4
1 file changed+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
@@ -173,7 +173,7 @@ runGhcid dotGhci mcmd = callCommand $ unwords $ "ghcid" : opts
173173 opts =
174174 [ "-W"
175175 --TODO: The decision of whether to use -fwarn-redundant-constraints should probably be made by the user
176− , "--command='ghci -Wall -fwarn-redundant-constraints -ghci-script " <> dotGhci <> "' "
176+ , "--command='ghci -Wall -ignore-dot-ghci -fwarn-redundant-constraints -ghci-script " <> dotGhci <> "' "
177177 , "--reload=config"
178178 , "--outputfile=ghcid-output.txt"
179179 ] <> testCmd