A Gulp-compatible wrapper around Void, which intelligently invalidates your AWS CloudFront cache.
Install the module using NPM.
$ npm install --save
Follow the installation instructions in the vanilla Void module README regarding environment variables.
Navigate to the git repo directory and run the default gulp
task:
var gulpVoid = require('gulp-void');
gulp.task('invalidate', function() {
gulp.src('build/static')
.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.