It starts building stuff instead of reporting the version and then exiting.
Indeed: https://github.com/haskell/haskell-language-server/blob/master/exe/Main.hs#L131
Looks like we are not terminating correctly
In addition, there should be a --numeric-version opts that is machine-parsable and only prints the raw version.
Most helpful comment
In addition, there should be a
--numeric-versionopts that is machine-parsable and only prints the raw version.