generator-scratch
Version:
Scratch is a starter theme generator based on _s and Foundation. It's a theme meant for hacking so don't use it as a Parent Theme. Instead try turning it into the next, most awesome, WordPress theme out there.
35 lines (34 loc) • 581 B
JavaScript
module.exports = {
/**
* grunt-contrib-watch
*
* Run predefined tasks whenever watched file patterns are
* added, changed or deleted.
*
* @link https://www.npmjs.com/package/grunt-contrib-watch
*/
images: {
files: ['src/img/**'],
tasks: ['image']
},
styles: {
files: ['src/sass/**/*.scss'],
tasks: ['clean:css', 'styles']
},
scripts: {
files: ['src/js/**/*.js'],
tasks: ['scripts']
},
browserSync: {
files: [
'*.php',
'**/*.php',
'Gruntfile.js',
'assets/js/*.js',
'assets/css/*.css'
],
options: {
watchTask: true
}
}
};