Open stephen-smith opened 3 months ago
Using the --poll
option seems to make it work, so I guess this is a bug in notifiers on WSL 2?
$ ghcid --poll
Loading cabal 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 ...
Resolving dependencies...
Build profile: -w ghc-9.6.6 -O0
In order, the following will be built (use -v for more details):
...
Here's the throw (in fsnotify): createManager
Would it be possible and "correct" to have ghcid catch this failure and "fall back" to 0.1s polling?
Same version, but on ghc-9.6.6 seems to work fine. So I'd guess there's some problem in hinotify with ghc 9.10 ?
$ ghcid -V
Auto reloading GHCi daemon v0.8.9
$ cabal --version
cabal-install version 3.12.1.0
compiled using version 3.12.1.0 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.6.6
I opened https://github.com/kolmodin/hinotify/issues/38 to track it there, too. Not sure if this issue should remain open.
Just reinstalled today. Yesterday
ghc-9.2.8/ghcid-0.8.8-e-ghcid-e53e7fac37f3705ed1023817b33dd41f77c667fb855f6d040e0a0e2498ef3cf5
was working, but I cleaned that up as I was removing older GHC versions.