factor1 / prelude-wp

Prelude is a WordPress starter theme that helps you craft custom themes.
GNU General Public License v3.0
14 stars 3 forks source link

Typo in Sass task #142

Closed erwstout closed 6 years ago

erwstout commented 6 years ago

Not breaking, but there is a typo in the sass gulp task.

// Compile Sass
gulp.task('sass', function() {
  return gulp.src( sassFiles )
    .pipe(sourcemaps.init())
      .pipe(plumber())
      .pipe(sass({
        includePaths: [
          './node_modules/normalize-scss/sass/'
        ]
      })
        .on('error', sass.logError)) // extra )
        .on('error', notify.onError("Error compiling scss!") // no closing )
      )
      .pipe(autoprefixer({
        browsers: ['last 3 versions', 'Safari > 7'],
        cascade: false
      }))
    .pipe(mmq({
      log: true
    }))
    .pipe(sourcemaps.write())
    .pipe(gulp.dest( './assets/css' ))
    .pipe(browserSync.reload({
      stream: true
    }));
});
erwstout commented 6 years ago

Confirmed working and launched with 4.2.0