Open Bogdaan opened 8 years ago
While i use gulp watch (with browsersync) and make a mistake in jade template - this will break watch cycle. So you have to restart gulp.
gulp watch
Posible solution:
1) for less:
.pipe($.less().on('error', console.log))
2) for jade:
.pipe( $.if(/\.jade$/, $.jade({ pretty: !RELEASE, locals: { pkgs: pkgs, googleAnalyticsID: GOOGLE_ANALYTICS_ID } }).on('error', console.log) ))
Same question: https://github.com/gulpjs/gulp/issues/71
While i use
gulp watch
(with browsersync) and make a mistake in jade template - this will break watch cycle. So you have to restart gulp.Posible solution:
1) for less:
2) for jade:
Same question: https://github.com/gulpjs/gulp/issues/71