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 trialStephen O'Connor
22,291 PointsCode Doesn't Match ... (Using Gulp's 'gulp-useref' For a Full Build Pipeline)
I am working through the "Using Gulp's 'gulp-useref' For a Full Build Pipeline" video just now and the code given when you clone the repo (git clone https://github.com/hdngr/treehouse-gulp-course) doesn't match the code on the video.
There is an uglifyScripts task in the video but the task in the files is minifyScripts ... and the code in that task doesn't match the code in the video. It's all rather confusing, especially for someone trying to learn Gulp.
Is this a mistake or does it not matter because later in the video the uglify/minify scripts task is removed??
Whenever I have followed videos before the code has match the video, but on this occasion it doesn't and it leaves me very confused.
Thanks.
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsIt does get removed later on, though I had other issues following along and had to write some of my own code (and reinstall one npm/gulp package).
Eventually Huston will rewrite most of the tasks in the gulpfile so don't worry too much at this stage.
Open a new question if you have any other troubles.