Open DamianPereira opened 7 years ago
Is this the ZURB Template you're using?
Yes, it's a new project created using the foundation-cli install of the zurb template, only added layouts, pages, and sass files.
//gulp 4.0.2 panini 1.6.3 gulp.watch('src/html/pages/*/').on('change', gulp.series('compile-html', browserSync.reload)); gulp.watch('src/html/{layouts,includes,helpers,data}/*/').on('change', gulp.series(async () => { await panini.refresh() }, 'compile-html', browserSync.reload));
A pages change ... B template change 1 panini refresh 2 rebuild html return gulp.src(xxx).pipe(panini(paniniOption)).pipe(gulp.dest(xxxx)); 3 browserSync.reload
Hi, I have a header.html with a dropdown menu, which looks like this:
This file is included in the default layout, with {{> header}}.
If I change the order of the menu items, moving the menu items around, the final page is not updated, but if I change a character it works as expected. The refresh function is called by Gulp, but it does not correctly refresh the changes in the partial.
Also, if I change a page, only that page gets the updated partials, while older pages that did not change still get the old header.