fix watch
This commit is contained in:
parent
7ea207df5d
commit
e9ba81149d
2 changed files with 10 additions and 10 deletions
10
gulpfile.ts
10
gulpfile.ts
|
@ -92,7 +92,9 @@ gulp.task('build', gulp.parallel(
|
|||
|
||||
gulp.task('default', gulp.task('build'));
|
||||
|
||||
gulp.watch([
|
||||
'./src/**/*',
|
||||
'!./src/client/**/*'
|
||||
], gulp.task('build'));
|
||||
gulp.task('watch', () => {
|
||||
gulp.watch([
|
||||
'./src/**/*',
|
||||
'!./src/client/**/*'
|
||||
], { ignoreInitial: false }, gulp.task('build'));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue