Closed hipstersmoothie closed 3 years ago
Adding an empty build step fixes the problem, creating a cache for the buildless dep
{
"scripts": {
"build": "echo nope"
}
}
empty script would be enough:
{
"scripts": {
"build": ""
}
}
Closing since it's a dupe
I have two packages
@packages/a
and@packages/b
.@packages/a
has no build step and@packages/b
has a build step.@packages/b
depends on@packages/a
When I run
yarn ultra -r --filter "@packages/b" --build build
the cache is never hit and it does a full rebuild. I'm guessing this is because@packages/a
has no build, it gets no cache file, andultra-runner
thinks it needs to build it again.