Closed j7an closed 7 years ago
Figured it out by looking at this issue here: https://github.com/zurb/panini/issues/62#issue-156313212
Added following
gulp.task('resetPages', (done) => {
panini.refresh();
done();
});
Modified watch to following
gulp.watch([folder.src + 'html/{pages,layouts,partials,helpers,data}/**/*.html'], ['resetPages','html', reload]);
Glad you figured it out! :)
My current gulp watch is
It seems to only transpile the file in the pages folder requiring another full build to see the entire page. So I changed my gulp.watch to
But this results in the following crash when modifying partials
How do I get the full page transpiled and reloaded via BrowserSync?