Open Altiano opened 4 years ago
My apologies, gow
is currently implemented only for Unix. The core feature, watching the files and rerunning a go
command, could work on any OS. The reason for this limitation is the hotkeys feature. It's implemented by switching the terminal to "raw mode" which allows the foreground program (gow
) to receive and interpret special control signals sent by hotkeys such as Ctrl+R, which would normally be intercepted and interpreted by the terminal emulator app. Switching to raw mode uses special Unix syscalls. This might be possible on Windows, but I never checked. My recommendation for working on Windows would be to use WSL (Windows subsystem for Linux), because go
commands in general are Unix-biased and perform much slower without WSL. gow
should also work under WSL.
If there was enough demand for pure Windows support, it would be possible to add. In the limit case, gow
could be compiled for Windows without the hotkeys feature.
Tested and it does work under WSL. That's my recommendation for working with Go anyway. Last time I checked, go
commands performed much better with WSL than without it.
got this when installing on Windows 10