Closed etamponi closed 6 years ago
Vice versa, --side-effects-cache
should turn --side-effects-cache-readonly
to true
What?
Let me clarify:
pnpm install --side-effects-cache
: use & create side effects cachepnpm install --side-effects-cache-readonly
: use & NOT create side effects cachepnpm install --side-effects-cache --side-effects-cache-readonly
: same as previous, but redundant.That's what I would expect the behaviour to be.
yes, I agree. The 3rd one could be even an error or a warning
We should probably add "node" to the side effects cache dirname because it's currently unclear what the v4 at the end means. So something lik linux-x64-node-v4
:ship: 0.12.0
Question:
--side-effects-cache-readonly
should automatically turn--side-effects-cache
to true, right? Like, I shouldn't need to dopnpm install --side-effects-cache --side-effects-cache-readonly
, but justpnpm install --side-effects-cache-readonly
, right?