Watch admin SCSS files

This commit is contained in:
Ingo Schommer 2016-03-28 13:10:00 +13:00
parent 97176581eb
commit dbe85dff0a

View File

@ -292,6 +292,9 @@ gulp.task('css', ['compile:css'], function () {
rootCompileFolders.forEach(function (folder) { rootCompileFolders.forEach(function (folder) {
gulp.watch(folder + '/scss/**/*.scss', ['compile:css']); gulp.watch(folder + '/scss/**/*.scss', ['compile:css']);
}); });
// Watch the .scss files in react components
gulp.watch('./admin/javascript/src/**/*.scss', ['compile:css']);
} }
}) })