livereload internal folders
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* compiler is working */
|
||||
body {
|
||||
background: lightblue !important;
|
||||
background: red !important;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 40px;
|
||||
margin-left: 200px !important;
|
||||
|
@@ -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]);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/* compiler is working */
|
||||
body {
|
||||
background: lightblue !important;
|
||||
background: red !important;
|
||||
padding-top:50px;
|
||||
padding-bottom: 40px;
|
||||
margin-left:200px !important;
|
||||
|
Reference in New Issue
Block a user