self.task.setMaxListeners is not a function
jklmli opened this issue · comments
Kevin Li commented
Running into the same error as #45.
gulp.task 'css:test', ->
gulp.src "front/src/css/site/front/lib/about.less"
.pipe cache(new cache.Cache { cacheDirName: 'custom-cache' }, {})
.pipe gulp.dest util.paths.less.out
Kevin Li commented
It looks like CacheSwap
doesn't have a setMaxListeners
method?
Kevin Li commented
Oh, I completely misunderstood the documentation. I didn't realize I had to pass the transform as the first argument, I read https://github.com/jgable/gulp-cache#options as positional args. This is different from how https://github.com/contra/gulp-cached does things.