Oliver Leics
Oliver Leics
Did you try the `maxPending` option?
This was/is in fact the next feature that should be integrated: https://github.com/oleics/node-filewalker/blob/58a0bff/lib/filewalker.js#L92 Linking `detectedMaxOpen` and `maxPending` if a flag is enabled should do the trick ;) Using `graceful-fs` (which is...
You can filter filepaths with the `matchRegExp` option. Try this: ``` js filewalker('/', { matchRegExp: /^((?!(node_modules|\.git)).)*$/ }) ```
You are right. Even more: `matchRegExp` option in it's current implementation does make no sense, as one can always check filename-extensions in user-land (which was the reason for the PR...
Node makes it a bit hard sometimes to find the real cause of such errors. Can you provide a "longer" Stacktrace with https://www.npmjs.com/package/longjohn ?
Good finding. The lines causing this issue: https://github.com/oleics/node-filewalker/blob/588f5b5/lib/filewalker.js#L39-L41