I have a local dependency in my stack.yaml:
extra-deps:
- foo/bar
- foo/quux
I also have a stack.yaml in foo:
packages:
- bar
- quux
Now let's suppose I do the following sequence of actions:
- Change something in
foo/barorfoo/quux - Do a
stack buildinfoo - Do a
stack buildin the root directory
If #2 succeeds, I would expect #3 to not rebuild foo/bar or foo/quux, since step #2 already did that. However, it seems the build under foo is not reused for the build in / by default. Is there a way to do that?