coderhaoxin/gulp-file-include — pull request #17 by Tessmore (2014-09-02 08:38:02+00:00)
Title: Added check for recursion includes

I have included an if statement that checks if a certain file wants to include itself. The check works for nested includes as well.

On a side note, I added a simple regex to remove types of html comments, as it felt weird that a commented include would still give me a recursion error :)