Rebuild demo when demo files change

This commit is contained in:
Daniel Imms
2018-05-27 07:38:04 -07:00
parent 656567aed0
commit ffd7d5513b
+2 -1
View File
@@ -144,8 +144,9 @@ gulp.task('webpack', ['build'], function() {
.pipe(gulp.dest('demo/dist/'));
});
gulp.task('watch-demo', ['webpack'], () => {
gulp.watch(['./lib/*', './lib/**/*'], ['webpack']);
gulp.watch(['./demo/*', './lib/**/*'], ['webpack']);
});
/**