gulp-file-include
gulp-file-include copied to clipboard
Detect infinite loop when A includes B includes A
Works today:
Today you support recursion problems when file A includes file A, and I get the report of
"recursion detected in file:"
What I would like:
File A includes File B File B includes File A.
At that point the same error should be reported. Today I get this error:
Maximum call stack size exceeded
And the same would be valid for File A includes File B File B includes File C File C includes File A
https://github.com/coderhaoxin/gulp-file-include/blob/master/test/edge-case.js#L87
It's a bug for now.
:100: