Konstantin Raev

Results 107 comments of Konstantin Raev

Yeah, it can be common. The problem is that yarn may rebuild the node_modules when you add/upgrade a dependency because it guarantees deterministic folder structure. But I support that symlinks...

Thanks for investigating more. What would it take to make Yarn smarter and not delete those if they don't change? On Wed, 10 May 2017 at 12:43, Alex wrote: >...

@samayo, everyone is waiting for you to submit a PR :)

Thanks for your request but it is not clear what you want could you provide an example? I'll close for now but feel free to reopen with more info.

Ok, let's reopen the issue, looks like enough people want it. The command is quite easy to modify, so go ahead and send a PR, the code is here https://github.com/yarnpkg/yarn/blob/master/src/cli/commands/list.js

It all starts with the `run` function. 1. Put a few console.log statements 2. run `yarn build` 3. Run `./bin/yarn list`