fix watch

This commit is contained in:
syuilo 2021-03-13 00:40:35 +09:00
parent 7ea207df5d
commit e9ba81149d
2 changed files with 10 additions and 10 deletions

View file

@ -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'));
});