From 5d38d543cdd25962fadc49a997798d156a41e4c7 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 2 May 2016 16:31:20 -0700 Subject: src,module: add --preserve-symlinks command line flag Add the `--preserve-symlinks` flag. This makes the changes added in #5950 conditional. By default the old behavior is used. With the flag set, symlinks are preserved, switching to the new behavior. This should be considered to be a temporary solution until we figure out how to solve the symlinked peer dependency problem in a more general way that does not break everything else. Additional test cases are included. PR-URL: https://github.com/nodejs/node/pull/6537 Reviewed-By: Ben Noordhuis --- doc/node.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/node.1') diff --git a/doc/node.1 b/doc/node.1 index cd3ffb17a0..cec87222b5 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -95,6 +95,11 @@ of the event loop. .BR \-\-zero\-fill\-buffers Automatically zero-fills all newly allocated Buffer and SlowBuffer instances. +.TP +.BR \-\-preserve\-symlinks +Instructs the module loader to preserve symbolic links when resolving and +caching modules. + .TP .BR \-\-track\-heap-objects Track heap object allocations for heap snapshots. -- cgit v1.2.3