Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self.task.setMaxListeners is not a function #49

Closed
jklmli opened this issue Jan 15, 2016 · 2 comments
Closed

self.task.setMaxListeners is not a function #49

jklmli opened this issue Jan 15, 2016 · 2 comments

Comments

@jklmli
Copy link
Contributor

jklmli commented Jan 15, 2016

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
@jklmli
Copy link
Contributor Author

jklmli commented Jan 15, 2016

It looks like CacheSwap doesn't have a setMaxListeners method?

@jklmli
Copy link
Contributor Author

jklmli commented Jan 15, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant