ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

quickfix file fails to generate if stack exists unexpectedly #368

Open xave opened 2 years ago

xave commented 2 years ago

Running a command such as ghcid -o quickfix --command="stack build --test --pedantic --fast --ghc-options='-DDEVELOPMENT -fobject-code -j +RTS -A64m -n2m -RTS'" fails to generate a quickfix file if stack exists with:


Command "stack build --test --pedantic --fast --ghc-options='-DDEVELOPMENT -fobject-code -j +RTS -A64m -n2m -RTS'" 

exited unexpectedly with error message:     Process exited with code: ExitFailure 1

*Current behavior*
On failure, no quickfix file is generated at all. 

*Expected behavior*
The quickfix file would be generated even if the process is interrupted.
ndmitchell commented 2 years ago

Are you expecting a blank quickfix file in that case?