gulp-void

A Gulp-compatible wrapper around Void, which intelligently invalidates your AWS CloudFront cache.

Usage no npm install needed!

<script type="module">
  import gulpVoid from 'https://cdn.skypack.dev/gulp-void';
</script>

README

Gulp Void Build Status Dependency Status devDependency Status

A Gulp-compatible wrapper around Void, which intelligently invalidates your AWS CloudFront cache

Install

Install the module using NPM.

$ npm install --save

Follow the installation instructions in the vanilla Void module README regarding environment variables.

Usage

Navigate to the git repo director and run the default gulp task:

var gulpVoid = require('gulp-void');

gulp.task('invalidate', function() {
    gulp.src()
        pipe(gulpVoid());
});

Then navigate to https://localhost:3000 in your browser. Editing files in the assets directory will automatically trigger a rebuild. Check terminal output for errors and restart as necessary.