summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
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'));
+});