wiledal / gulp-include

Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
158 stars 68 forks source link

Directive Not Working #53

Closed geoguide closed 8 years ago

geoguide commented 8 years ago

This is driving me crazy. I put this in my index file

<!--=include www/app/**/**/*.js --> <!--=include www/app/**/*.js --> <!--=include www/app/*.js --> <!--=include www/templates.js -->

and have include = require("gulp-include"); in my gulpfile. I'm new to gulp, usually use grunt but working on someone else's project. Am I missing something obvious? It just prints out the comments.

jeffman78 commented 8 years ago

Make sure your directives are on a single line.