Separate: task 'WATCH' and create module for 'load-config-grunt'

pull/1082/head
Arno Roldao Junior 2016-06-23 10:25:08 -03:00
parent 0d725c1750
commit 561ea68955
1 changed files with 14 additions and 0 deletions

14
grunt-tasks/watch.js Normal file
View File

@ -0,0 +1,14 @@
'use strict';
module.exports = function (grunt) {
return {
// If any .less file changes in directory "build/less/" run the "less"-task.
// files: ["build/less/*.less", "build/less/skins/*.less", "dist/js/app.js"],
files: [
"build/scss/*.scss",
"build/scss/skins/*.scss",
"dist/js/app.js"
],
tasks: ["sass", "uglify"]
};
};