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

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

Probably not, the javascript ecosystem moves very fast. Webpack has pretty much replaced gulp so I can't see them updating this course anytime soon. https://webpack.js.org

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

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.

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

No problem! :)

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