Skip to content

Commit ba5647c

Browse files
committed
Fix gulp watchers
1 parent a50e503 commit ba5647c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

gulpfile.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@ gulp.task('clean-dist', function () {
1414
// so as to relaunch the build into dist directory
1515
// Should be used for dev purpose
1616
gulp.task('watch', ['create-dist'], function() {
17-
gulp.watch('content/*.md', ['create-dist']);
18-
gulp.watch('content/php-client/*.md', ['create-dist']);
19-
gulp.watch('content/misc/*.md', ['create-dist']);
20-
gulp.watch('styles/*.less', ['create-dist']);
21-
gulp.watch('src/*.handlebars', ['create-dist']);
22-
gulp.watch('src/api-reference/*.handlebars',['create-dist']);
23-
gulp.watch('content/img/*', ['create-dist']);
17+
gulp.watch('content/**/*.md', ['create-dist']);
18+
gulp.watch('content/img/**/*', ['create-dist']);
2419
gulp.watch('content/*.yaml', ['create-dist']);
20+
gulp.watch('styles/*.less', ['create-dist']);
21+
gulp.watch('src/**/*.handlebars', ['create-dist']);
2522
});
2623

2724
// Launch a server with dist directory exposed on it

0 commit comments

Comments
 (0)