We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.run()
gulp.run() is very handy for use in a cli that incorporates other types of commands as well.
I saw this: gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead. And I don't like it :(
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.
The text was updated successfully, but these errors were encountered:
@resistdesign Now u do gulp.run('task'); or gulp.start('task');, in 4.0 you will gulp.parallel('task')(); or gulp.series('task')(); That's all
gulp.run('task');
gulp.start('task');
gulp.parallel('task')();
gulp.series('task')();
Sorry, something went wrong.
Ah, ok, also I just found that I can use gulp without declaring tasks and that works too, like just:
gulp
#!/usr/bin/env node var gulp = require('gulp'); gulp.src('hello.txt') .pipe(gulp.dest('build'));
Reference: #770 @sogko
@resistdesign It's just streams.
You're right, I couldn't get my head out of the task structure to see that :P
No branches or pull requests
gulp.run()
is very handy for use in a cli that incorporates other types of commands as well.I saw this:
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.
And I don't like it :(
The text was updated successfully, but these errors were encountered: