Open ghost opened 5 years ago
Have you found which command can launch ghci? Something like "stack repl"? If so pass that to --command
I see that this command is used by the ghcid plugin on visual studio code:
Loading stack ghci --test --bench --ghci-options=-fno-code --ghci-options=-fno-break-on-exception --ghci-options=-fno-break-on-error --ghci-options=-v1 --ghci-options=-ferror-spans --ghci-options=-j ... 'stty' is not recognized as an internal or external command, operable program or batch file. ?[0m?[0m Specify main module to use (press enter to load none): Not loading any main modules, as no valid module selected ?[0m ?[0m
Hello,
As soon as I try to work with ghcid I see this as output:
tions=-ferror-spans --ghci-options=-j ... 'stty' is not recognized as an internal or external command, operable program or batch file. ?[0m?[0m ?[0m ?[0m ?[0mThe main module to load is ambiguous. Candidates are: ?[0m ?[0m1. Package
chapter7' component chapter7:exe:chapter7-exe with main-is file: C:\Users\roelof\Documents\haskell\chapter7\app\Main.hs?[0m ?[0m2. Package
chapter7' component chapter7:test:chapter7-test with main-is file: C:\Users\roelof\Documents\haskell\chapter7\test\Spec.hs?[0m ?[0mYou can specify which one to pick by: ?[0m ?[0m Specifying targets to stack ghci e.g. stack ghci chapter7:exe:chapter7-exe?[0m ?[0m Specifying what the main is e.g. stack ghci --main-is chapter7:exe:chapter7-exe?[0m ?[0m Choosing from the candidate above [1..2]?[0m ?[0m *?[0m ?[0m?[0mis there a way I can turn the output to normal ?
Roelof