<div dir="ltr">I'm using Haskell stack in the normal way (i.e. "stack build", "stack exec") for most of my application. However, I also need to build files that aren't in the stack source tree. <div><br></div><div>My stack source tree is at ~/stack/cac/src/</div><div><br></div><div>Let's say I want to build the program /Users/Dennis/test.hs.</div><div><br></div><div>So far I have been using<div><br></div><div>   stack ghc --stack-yaml ~/stack/cac/stack.yaml -- --make /Users/Dennis/test.hs</div></div><div><br></div><div>I am confused. I thought this was working until today. I made some modifications in various places, including to my cac.cabal (but NOT my stack.yaml) and I'm having a problem. The libraries that test.hs imports are not getting rebuilt when they change.</div><div><br></div><div>Are they *supposed* to be rebuilt? Any ideas how to debug this?</div><div><br></div><div>D</div><div><br></div></div>