diff --git a/gulpfile.js b/gulpfile.js index 3b44f1fd..aad4105c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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']); }); /**