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

Do NOT deprecate or remove gulp.run()... #1125

Closed
resistdesign opened this issue Jun 30, 2015 · 4 comments
Closed

Do NOT deprecate or remove gulp.run()... #1125

resistdesign opened this issue Jun 30, 2015 · 4 comments

Comments

@resistdesign
Copy link

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 :(

@TrySound
Copy link
Contributor

@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

@resistdesign
Copy link
Author

Ah, ok, also I just found that I can use gulp without declaring tasks and that works too, like just:

#!/usr/bin/env node

var gulp = require('gulp');

gulp.src('hello.txt')
  .pipe(gulp.dest('build'));

Reference: #770 @sogko

@TrySound
Copy link
Contributor

@resistdesign It's just streams.

@resistdesign
Copy link
Author

You're right, I couldn't get my head out of the task structure to see that :P

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