summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-13 00:40:35 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-03-13 00:40:35 +0900
commite9ba81149d95a02e699f4dc2222bb785efde97ff (patch)
treef1df133b8c1f125945c743d35c4715d0cf8cc879 /gulpfile.ts
parentCreate CHANGELOG.md (diff)
downloadsharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.tar.gz
sharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.tar.bz2
sharkey-e9ba81149d95a02e699f4dc2222bb785efde97ff.zip
fix watch
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts10
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'));
+});