From 0851b2776e302d61b125edbf5684365985d85672 Mon Sep 17 00:00:00 2001 From: jacobstr Date: Fri, 23 Jan 2015 13:19:35 -0700 Subject: [PATCH] Follow symbolic links. Requires: https://github.com/jacobstr/node-haste Fixes: https://github.com/facebook/jest/issues/219 --- src/HasteModuleLoader/HasteModuleLoader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HasteModuleLoader/HasteModuleLoader.js b/src/HasteModuleLoader/HasteModuleLoader.js index 97692012bea1..e280470fcebe 100644 --- a/src/HasteModuleLoader/HasteModuleLoader.js +++ b/src/HasteModuleLoader/HasteModuleLoader.js @@ -102,7 +102,8 @@ function _constructHasteInst(config, options) { version: JSON.stringify(config), useNativeFind: true, maxProcesses: os.cpus().length, - maxOpenFiles: options.maxOpenFiles || 100 + maxOpenFiles: options.maxOpenFiles || 100, + followSymlinks: true } ); }