Hi there,
I have a theme which uses SASS. I am trying to set up Grunt to process the SCSS.
I have the following in my gruntfile.js:
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
files: {
'wp-content/themes/superlist/assets/css/superlist-mint.css' : 'wp-content/themes/superlist/assets/scss/superlist-mint.scss'
}
}
},
watch: {
css: {
files: '**/**/**/**/*.scss',
tasks: ['sass']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default',['watch']);
}
However, the SCSS is not updating.
Any ideas what I have wrong?
thanks!