diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-13 00:40:35 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-13 00:40:35 +0900 |
| commit | e9ba81149d95a02e699f4dc2222bb785efde97ff (patch) | |
| tree | f1df133b8c1f125945c743d35c4715d0cf8cc879 /gulpfile.ts | |
| parent | Create CHANGELOG.md (diff) | |
| download | sharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.tar.gz sharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.tar.bz2 sharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.zip | |
fix watch
Diffstat (limited to 'gulpfile.ts')
| -rw-r--r-- | gulpfile.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gulpfile.ts b/gulpfile.ts index 0717d82086..0cdd016fd7 100644 --- a/gulpfile.ts +++ b/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')); +}); |