mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Rebuild demo when demo files change
This commit is contained in:
+2
-1
@@ -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']);
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user