Closed jasagredo closed 1 month ago
Windows support has been a non-goal so far. I would recommend building with Windows Subsystem for Linux. We build ghciwatch
with Nix in CI via Garnix, neither of which supports Windows, so it would mean (at a minimum) adding a new build system without any of the guarantees that Nix offers us. ghcid
also has a surprising amount of code to support Windows.
If you can get the test suite passing on Windows I'd take a look at it, but unfortunately I don't want to commit to getting it merged as I am unenthusiastic to overhaul the CI/release process.
I got a working version in https://github.com/jasagredo/ghciwatch/commit/a9a45d0ba14b825d4f43702004ac8b7fcc50f202, essentially just needing to modify how the Pid is passed around and how the process is killed.
It has been ~4 years since I last did some rust, so maybe my changes are not very idiomatic.
Anyways, I didn't fix the test-suite so it is probably not worth for consideration yet, but maybe someone that knows more rust than me can do a better job. That commit is just a proof that with very little changes it can work on Windows.
Describe the feature you’d like to be implemented
Would it be possible to support Windows? Currently compilation fails with:
ghcid
is perfectly usable on windows, with the same caveats it has on Linux but still usable.List alternatives to the feature and their pros and cons
No response
Additional context
No response