Skip to content

Commit bd51a28

Browse files
committed
chore: fix assets not being cleared out when running the demo
1 parent bfdd59d commit bd51a28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulp/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ gulp.task('demo:build', done => {
3030
runSequence('demo:clean', 'demo:assets', 'demo:ts', done);
3131
});
3232

33-
gulp.task('demo:watch', ['demo:ts'], () => {
33+
gulp.task('demo:watch', ['demo:build'], () => {
3434
gulp.watch(path.join(DEMO, 'src/**/*.ts'), ['demo:ts']);
3535
});
3636

gulp/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gulp.task('module:ts:umd', compile.tsc(constants.SRC, {
2020
'--module': 'system'
2121
}));
2222

23-
gulp.task('module:watch', ['module:ts:demo'], () => {
23+
gulp.task('module:watch', ['module:build'], () => {
2424
gulp.watch(path.join(constants.SRC, '**/*.ts'), ['module:ts:demo']);
2525
});
2626

0 commit comments

Comments
 (0)