Skip to content

Commit f1aed3a

Browse files
author
Walker Leite
committed
fix(gulp): fix gulp not reloading client
1 parent 34d1613 commit f1aed3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/gulp-tasks/serve.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ gulp.task('watch:server', () => {
2121

2222
gulp.task('reload:client', ['build:client'], () => {
2323
gutil.log('Reloading client');
24-
connect.reload();
24+
gulp.src(dirs.buildClient)
25+
.pipe(connect.reload());
2526
});
2627

2728
gulp.task('watch:client', () => {

0 commit comments

Comments
 (0)