Dont use gulp-changed on SASS

master
Alexander Surma 2015-03-20 15:36:16 +00:00
parent e5a438eb2d
commit e057b5d816
1 changed files with 3 additions and 4 deletions

View File

@ -81,9 +81,8 @@ gulp.task('fonts', function () {
// Compile and Automatically Prefix Stylesheets (dev)
gulp.task('styles:dev', ['fonts'], function () {
return gulp.src([
'src/**/**/*.scss'
'src/**/*.scss'
])
.pipe($.changed('.tmp/styles', {extension: '.css'}))
.pipe($.sass({
precision: 10,
onError: console.error.bind(console, 'Sass error:')
@ -204,8 +203,8 @@ gulp.task('serve', ['styles:dev'], function () {
server: ['.tmp', 'src', '.tmp/styles']
});
gulp.watch(['src/**/**/**/*.html'], reload);
gulp.watch(['src/**/**/*.{scss,css}'], ['styles:dev', reload]);
gulp.watch(['src/**/*.html'], reload);
gulp.watch(['src/**/*.{scss,css}'], ['styles:dev', reload]);
gulp.watch(['src/**/*.js'], ['jshint']);
});