alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

Including using a relative path results in an infinite loop #4

Closed ojak closed 11 years ago

ojak commented 11 years ago

I tried to include a file using the following and I get an infinite loop:

@@include('src/myfile.js')
alanshaw commented 11 years ago

What does myfile.js have in it? Does it @@include the file that included it, or any of the files that include myfile.js?