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

gulp-like imperative config doesn't work #2

Closed
gramergrater opened this issue Oct 31, 2014 · 5 comments
Closed

gulp-like imperative config doesn't work #2

gramergrater opened this issue Oct 31, 2014 · 5 comments

Comments

@gramergrater
Copy link

Pass an object or else:

Warning: Object function ... has no method 'indexOf' Use --force to continue
@shama
Copy link
Owner

shama commented Oct 31, 2014

This is because of a bug in Grunt, please see: gruntjs/grunt#1236

@shama shama closed this as completed Oct 31, 2014
@gramergrater
Copy link
Author

Sorry to bother you again, but is watching still possible while your PR is pending? Should I let grunt-contrib-watch do the watching instead of gulp?

Thank you, based shama.

@shama
Copy link
Owner

shama commented Oct 31, 2014

Oh is that happening when watching?

That issue is related only when --verbose is set while doing this:

grunt.initConfig({
    gulp: {
      foo: function() {
        return gulp.src('foo').pipe(bar()).pipe(gulp.dest('bar'));
      }
    }
  });

@webuniverseio
Copy link

I'm curious about watching too. What is the best way of doing that - through gulp or through grunt?
Thank you

@shama
Copy link
Owner

shama commented Nov 17, 2014

@szarouski Which ever works best for you. FWIW, both grunt and gulp use the same underlying watch library: https://github.com/shama/gaze

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

3 participants