You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdminLTE/build/grunt/watch.js

20 lines
459 B

// Watch files for changes and invoke appropriate compiler
'use strict';
module.exports = function (grunt) {
return {
sass: {
files: ['build/scss/*.scss', 'build/scss/skins/*.scss'],
tasks: ['sass', 'notify:watch']
},
es6 : {
files: ['build/js/src/*.js'],
tasks: ['concat', 'babel', 'uglify', 'notify:watch']
},
js : {
files: ['dist/js/adminlte.js'],
tasks: ['uglify', 'notify:watch']
}
};
};