Skip to content

Commit

Permalink
call onNoChange if etag matches on HEAD request
Browse files Browse the repository at this point in the history
  • Loading branch information
leemhenson committed Nov 18, 2015
1 parent 6f9e973 commit db38b49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ gulpPrefixer = function (AWS) {

// AWS ETag doesn't match local ETag
gutil.log(gutil.colors.gray("No Change ..... "), keyname);

if (options.onNoChange && typeof options.onNoChange === 'function') {
options.onNoChange.call(this, keyname);
}

callback(null);

} else {
Expand Down

0 comments on commit db38b49

Please sign in to comment.