rules_node icon indicating copy to clipboard operation
rules_node copied to clipboard

symlinks instead of copying?

Open an-kumar opened this issue 7 years ago • 2 comments

Currently building binaries involves full copies of all the node modules. Would it be possible to provide a flag to use symlinks instead of full copies?

In some docker containers, filesystem operations are extremely slow, and since node modules get very big, this can make it impossible to use e.g circleci for node tests.

an-kumar avatar Mar 23 '18 04:03 an-kumar

I have an implementation of this if you're interested.

an-kumar avatar Mar 25 '18 20:03 an-kumar

Sorry for delay in response. PR definitely welcome on this. May have to be under a flag or require more work to support on windows.

pcj avatar Apr 03 '18 21:04 pcj