Update register pattern to exclude gulp.task call