Skip to content

Commit

Permalink
Merge pull request gulpjs#547 from louisremi/master
Browse files Browse the repository at this point in the history
Fix incremental-rebuilding example
  • Loading branch information
sindresorhus committed Jun 25, 2014
2 parents e96a804 + 58a8194 commit aa83b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/incremental-builds-with-concatenate.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ gulp.task('watch', function () {
var watcher = gulp.watch(scriptsGlob, ['scripts']); // watch the same files in our scripts task
watcher.on('change', function (event) {
if (event.type === 'deleted') { // if a file is deleted, forget about it
delete cache.caches['scripts'][event.path]; // gulp-cached remove api
delete cached.caches.scripts[event.path]; // gulp-cached remove api
remember.forget('scripts', event.path); // gulp-remember remove api
}
});
Expand Down

0 comments on commit aa83b08

Please sign in to comment.