livereload internal folders

This commit is contained in:
Angel Ordax
2015-12-04 17:25:52 +01:00
parent b1337fdfca
commit db16164626
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
/* compiler is working */
body {
background: lightblue !important;
background: red !important;
padding-top: 50px;
padding-bottom: 40px;
margin-left: 200px !important;

View File

@@ -10,7 +10,7 @@ var sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('scss/*.scss')
gulp.src('scss/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('css'));
});
@@ -37,8 +37,8 @@ gulp.task('serve', ['sass'], function () {
});
gulp.watch(['./scss/*.scss'], ['sass']);
gulp.watch(['css/*.css'], reload);
gulp.watch(['./scss/**/*.scss'], ['sass']);
gulp.watch(['css/**/*.css'], reload);
gulp.watch(['./*.html'], reload);
// gulp.watch(['./*.php'], reload);
// gulp.watch(['js/**/*.js'], [reload]);

View File

@@ -1,6 +1,6 @@
/* compiler is working */
body {
background: lightblue !important;
background: red !important;
padding-top:50px;
padding-bottom: 40px;
margin-left:200px !important;