How to use the panini.refresh function in panini

To help you get started, we’ve selected a few panini examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github johndavemanuel / bootstrap-gulp-starter-template / gulpfile.js View on Github external
function compileHTML() {
  console.log('---------------COMPILING HTML WITH PANINI---------------');
  panini.refresh();
  return src('src/pages/**/*.html')
    .pipe(panini({
      root: 'src/pages/',
      layouts: 'src/layouts/',
      // pageLayouts: {
      //     // All pages inside src/pages/blog will use the blog.html layout
      //     'blog': 'blog'
      // }
      partials: 'src/partials/',
      helpers: 'src/helpers/',
      data: 'src/data/'
    }))
    .pipe(dest('dist'))
    .pipe(browserSync.stream());
}
github johndavemanuel / bootstrap-gulp-starter-template / gulpfile.js View on Github external
function resetPages(done) {
  console.log('---------------CLEARING PANINI CACHE---------------');
  panini.refresh();
  done();
}
github SAP / luigi / website / landingpage / dev / gulpfile.babel.js View on Github external
function resetPages(done) {
  panini.refresh();
  done();
}
github diegofelipece / mussum-ipsum / site / gulpfile.babel.js View on Github external
function resetPages(done) {
  panini.refresh();
  done();
}
github intelsdi-x / snap / zurb-template / gulpfile.babel.js View on Github external
function resetPages(done) {
  panini.refresh();
  done();
}
github JayBauer / Email-Builder / gulpfile.babel.js View on Github external
function resetPages(done) {
  panini.refresh();
  done();
}

panini

A super tiny flat file compiler.

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis

Popular panini functions