Skip to content

Commit

Permalink
changed() looks at dest, not src
Browse files Browse the repository at this point in the history
So, the interesting thing is that this started from this discussion: lookfirst/systemjs-seed#1 (comment)

I suggest that you adopt [gulp-helpers](https://github.com/lookfirst/gulp-helpers). It was based off this gulpfile and would really help clean up a lot of your code.
  • Loading branch information
lookfirst committed Mar 11, 2015
1 parent 4f58631 commit 435211a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ gulp.task('less', function () {
return gulp.src(path.less)
.pipe(cache('less'))
.pipe(plumber())
.pipe(changed(path.output, {extension: '.less'}))
.pipe(changed(path.output, {extension: '.css'}))
.pipe(sourcemaps.init())
.pipe(less({
plugins: [ cleancss ]
Expand Down Expand Up @@ -172,7 +172,7 @@ gulp.task('less-themes', function () {
return gulp.src(path.themes)
.pipe(cache('less-themes'))
.pipe(plumber())
.pipe(changed(path.output, {extension: '.less'}))
.pipe(changed(path.output, {extension: '.css'}))
.pipe(sourcemaps.init())
.pipe(less({
plugins: [ cleancss ]
Expand Down

0 comments on commit 435211a

Please sign in to comment.