From 4f137136f392a9c7afbe04aab00e6beebc5e5866 Mon Sep 17 00:00:00 2001 From: Lukas Juhas Date: Tue, 17 May 2016 14:17:32 +0100 Subject: [PATCH] correct imagemin watch path --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 88216df..71fa62e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,7 +15,7 @@ elixir.extend('imagemin', function(config) { return gulp.src(elixir.config.assetsPath + '/images/**/*') .pipe(gulpImagemin(config)) .pipe(gulp.dest('./images')); - }).watch('./assets/images/**/*'); + }).watch(elixir.config.assetsPath + '/images/**/*'); }); // Run elixir tasks