diff --git a/gulpfile.coffee b/gulpfile.coffee index 40d1bbd..b1f04d1 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -63,7 +63,7 @@ gulp.task 'styles', -> .pipe(stylus({set: ['include css']})) .pipe(prefix("last 1 version", "> 1%", "ie 8")) - styles.pipe(CSSmin()) if production + styles = styles.pipe(CSSmin()) if production styles.pipe gulp.dest paths.styles.destination .pipe livereload reloadServer