Home › Forums › Other › Using Compass and Autoprefixer in Grunt › Reply To: Using Compass and Autoprefixer in Grunt
May 30, 2014 at 6:02 pm
#171473
Scott Lyttle
Participant
Answered my own question. Appears if you do not specify an output location for Autoprefixer, it will just use the input location and overwrite the files. Here’s the updated section of the gruntfile if it’s of help t anyone:
autoprefixer: {
css: {
src: 'style/build/**.css',
}
},
watch: {
options: {
livereload: true,
},
css: {
files: ['style/source/**/*.scss'],
tasks: ['compass', 'autoprefixer:css'],
options: {
spawn: false,
}
}
}