Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Gulp Basics Welcome to Gulp.js Your First Gulp Task

Irena B.
Irena B.
8,713 Points

task() method is still relevant?

When I read about task() in Gulp Docs, I get this info from the beginning "Reminder: This API isn't the recommended pattern anymore - export your tasks." I have noticed that many courses is outdated here. So I wonder if the whole course is up-to-date?

2 Answers

Irena B.
Irena B.
8,713 Points

Thank you! Why they even include this course in Full Stack track if most information here is old

Jordan Hoover
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jordan Hoover
Python Web Development Techdegree Graduate 59,268 Points

I kinda wondered that myself. They might replace it soon.

I do think its good to know since you might run into it in older projects and it helps you understand build systems, so its not a "waste" or anything. But I would speed through it if you haven't finished it and focus on learning webpack and the webpack courses. I would also look at "using npm as a task runner". A combination of npm (or yarn) and webpack is the standard nowadays.

Irena B.
Irena B.
8,713 Points

Thanks a lot for your advice! I am definitely going to watch the webpack courses.

Bryon Czaja
Bryon Czaja
5,922 Points

Thanks for the info on webpack...good to know.