How does Stack handle changes to optimization levels?

Viewed 98

If I change the optimization level ghc option, and then build, does Stack recompile all dependencies with the updated optimization level? I have not noticed this happening, but I don't know if I'm missing something.

If Stack does not recompile dependencies with the updated optimization level, how can I get it to do so?

0 Answers
Related