When running cabal build or stack build from the command line, I like to see the warnings produced by ghc. This works well when calling stack build from a single-package project. As stack build is running, it outputs the ghc warnings for each file it is compiling.
However, for a multi-package build, stack build doesn't output warnings from ghc.
Is there a flag to stack build that will output the ghc warnings?
It is possible this issue is related. However, I don't want to see ghc warnings for ALL dependencies, just for the packages in my stack.yaml file.
When running
cabal buildorstack buildfrom the command line, I like to see the warnings produced by ghc. This works well when callingstack buildfrom a single-package project. Asstack buildis running, it outputs the ghc warnings for each file it is compiling.However, for a multi-package build,
stack builddoesn't output warnings from ghc.Is there a flag to
stack buildthat will output the ghc warnings?It is possible this issue is related. However, I don't want to see ghc warnings for ALL dependencies, just for the packages in my
stack.yamlfile.