From: Tristan Mugford Date: Sun, 23 Mar 2014 00:40:42 +0000 (+0000) Subject: Added autoprefixer to watch task in Gruntfile.js X-Git-Tag: v5.2.2~81^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4765%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Added autoprefixer to watch task in Gruntfile.js --- diff --git a/Gruntfile.js b/Gruntfile.js index b85cac255..7a05383c6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -163,7 +163,7 @@ module.exports = function(grunt) { }, sass: { files: ['scss/**/*.scss', 'doc/assets/**/*.scss'], - tasks: ['sass', 'cssmin'], + tasks: ['sass', 'autoprefixer', 'cssmin'], options: { livereload:true } @@ -221,7 +221,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-jst'); grunt.loadNpmTasks('grunt-autoprefixer'); grunt.loadNpmTasks('grunt-contrib-cssmin'); - + grunt.task.registerTask('watch_start', ['karma:dev_watch:start', 'watch']); grunt.registerTask('build:assets', ['clean', 'sass', 'autoprefixer', 'cssmin', 'concat', 'uglify', 'copy', 'jst']); grunt.registerTask('build', ['build:assets', 'assemble']);