move csscomb watch task from server repo (#177)

refs TryGhost/Ghost#6977
This commit is contained in:
Austin Burdine 2016-08-06 03:26:24 -06:00 committed by Kevin Ansfield
parent ef635afba8
commit 1ce2e8b37c
2 changed files with 9 additions and 7 deletions

View File

@ -87,13 +87,14 @@ module.exports = function(grunt) {
bgShell: {
ember: {
cmd: 'npm run build -- --watch',
bg: true,
stdout: function (out) {
grunt.log.writeln(chalk.cyan('Ember-cli::') + out);
},
stderror: function (error) {
grunt.log.error(chalk.red('Ember-cli::' + error));
}
bg: true
}
},
watch: {
csscomb: {
files: ['app/styles/**/*.css'],
tasks: ['shell:csscombfix']
}
},

View File

@ -79,6 +79,7 @@
"grunt-bg-shell": "2.3.3",
"grunt-contrib-clean": "1.0.0",
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-jscs": "3.0.1",
"grunt-shell": "1.3.0",
"jquery-deparam": "0.5.2",