mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
fixed watch task issue
This commit is contained in:
parent
99e515c2aa
commit
bb5eb498fe
|
@ -7,8 +7,8 @@ function changed(event) {
|
|||
}
|
||||
|
||||
gulp.task('watch', ['bundle'], function () {
|
||||
gulp.watch([ paths.source ], [ 'bundleSfx', browserSync.reload ]).on('change', changed);
|
||||
gulp.watch([ paths.html ], [ 'bundleSfx', browserSync.reload]).on('change', changed);
|
||||
gulp.watch([ paths.css ], [ 'bundleSfx', browserSync.reload]).on('change', changed);
|
||||
gulp.watch([ paths.source ], [ 'bundle', browserSync.reload ]).on('change', changed);
|
||||
gulp.watch([ paths.html ], [ 'bundle', browserSync.reload]).on('change', changed);
|
||||
gulp.watch([ paths.css ], [ 'bundle', browserSync.reload]).on('change', changed);
|
||||
gulp.watch([ paths.demo ], [ '', browserSync.reload ]).on('change', changed);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user