Skip to content

Commit 21fc10e

Browse files
committed
fix watch task path
1 parent 39e13da commit 21fc10e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

easybs/gulpfile.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict';
2+
23
var gulp = require('gulp');
34
var browserSync = require('browser-sync').create();
45
var sass = require('gulp-sass');
@@ -24,8 +25,8 @@ gulp.task('server', ['sass'], function() {
2425
}
2526
});
2627

27-
gulp.watch(src.scss, ['sass']);
28-
gulp.watch(src.html).on('change', reload);
28+
gulp.watch(path.scss, ['sass']);
29+
gulp.watch(path.html).on('change', reload);
2930
});
3031

3132
// Compile sass into css

0 commit comments

Comments
 (0)