summaryrefslogtreecommitdiff
path: root/doc/node.1
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2016-05-02 16:31:20 -0700
committerJames M Snell <jasnell@gmail.com>2016-05-13 11:43:47 -0700
commit5d38d543cdd25962fadc49a997798d156a41e4c7 (patch)
tree04b538b19025ddaf9017cbce4aa35fb004e6a145 /doc/node.1
parentf52b2f116bf510e2af8750061ac6f8a0c9caa653 (diff)
downloadandroid-node-v8-5d38d543cdd25962fadc49a997798d156a41e4c7.tar.gz
android-node-v8-5d38d543cdd25962fadc49a997798d156a41e4c7.tar.bz2
android-node-v8-5d38d543cdd25962fadc49a997798d156a41e4c7.zip
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 <info@bnoordhuis.nl>
Diffstat (limited to 'doc/node.1')
-rw-r--r--doc/node.15
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/node.1 b/doc/node.1
index cd3ffb17a0..cec87222b5 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -96,6 +96,11 @@ of the event loop.
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.