Skip to content

Commit 0619ab5

Browse files
committed
Fix gulpfile issues with copying and watching css files.
1 parent d01383a commit 0619ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ gulp.task('connect', ['lab'], function(){
101101
baseDir: paths().public.root
102102
}
103103
});
104-
gulp.watch(path.resolve(paths().public.css, 'style.css'), ['cp:css']);
104+
gulp.watch(path.resolve(paths().source.css, '**/*.css'), ['cp:css']);
105105

106106
//suggested watches if you use scss
107107
// gulp.watch('./source/css/**/*.scss', ['sass:style']);
@@ -152,7 +152,7 @@ gulp.task('lab-pipe', ['lab'], function(cb){
152152

153153
gulp.task('default', ['lab']);
154154

155-
gulp.task('assets', ['cp:js', 'cp:img', 'cp:font', 'cp:data', /*'sass:style', 'sass:styleguide'*/]);
155+
gulp.task('assets', ['cp:js', 'cp:img', 'cp:font', 'cp:data', 'cp:css' /*'sass:style', 'sass:styleguide'*/]);
156156
gulp.task('prelab', ['clean', 'assets']);
157157
gulp.task('lab', ['prelab', 'patternlab'], function(cb){cb();});
158158
gulp.task('patterns', ['patternlab:only_patterns']);

0 commit comments

Comments
 (0)