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

Any plan to add patterns similar to gulp.watch ? #198

Closed
Qt-dev opened this issue Sep 21, 2015 · 1 comment
Closed

Any plan to add patterns similar to gulp.watch ? #198

Qt-dev opened this issue Sep 21, 2015 · 1 comment

Comments

@Qt-dev
Copy link

Qt-dev commented Sep 21, 2015

Hey there,

I was using gulp.watch, from the gulp API but ended up having to switch to gulp-watch.
Now what I found strange is that, to trigger a task on a watch, you have to use the gulp.start function, that is pretty "not recommended"

Is there any plan to get something in the likes of
gulp.watch(glob, [tasks], cb) ?

@floatdrop
Copy link
Owner

@Qt-dev I don't see any other way to start task in gulp besides gulp.start, so either it will be in plugin code or in gulpfile. Neither is recommended.

After this issue is resolved gulp-watch will be deprecated. I can't find new API thou, may be they keep [tasks], may be not.

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

2 participants