deployer icon indicating copy to clipboard operation
deployer copied to clipboard

yarn recipe hard links rather than copy

Open stevenbrookes opened this issue 2 years ago • 1 comments

Hi

Nice to see yarn now supported natively in deployer. I've switched to using it instead of my own task definition. I noticed it use cp -R to make a copy of the node modules. This definitely speeds up the deployment, but doing cp -al instead, creating hard links rather than a copy is almost instant. Seems to be working for me.

Would you like a patch ;)

Steve

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

stevenbrookes avatar Jun 01 '23 14:06 stevenbrookes

Nice idea 💡

antonmedv avatar Jun 01 '23 19:06 antonmedv