move csscomb watch task from server repo (#177)
refs TryGhost/Ghost#6977
This commit is contained in:
parent
ef635afba8
commit
1ce2e8b37c
15
Gruntfile.js
15
Gruntfile.js
|
@ -87,13 +87,14 @@ module.exports = function(grunt) {
|
||||||
bgShell: {
|
bgShell: {
|
||||||
ember: {
|
ember: {
|
||||||
cmd: 'npm run build -- --watch',
|
cmd: 'npm run build -- --watch',
|
||||||
bg: true,
|
bg: true
|
||||||
stdout: function (out) {
|
}
|
||||||
grunt.log.writeln(chalk.cyan('Ember-cli::') + out);
|
},
|
||||||
},
|
|
||||||
stderror: function (error) {
|
watch: {
|
||||||
grunt.log.error(chalk.red('Ember-cli::' + error));
|
csscomb: {
|
||||||
}
|
files: ['app/styles/**/*.css'],
|
||||||
|
tasks: ['shell:csscombfix']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
"grunt-bg-shell": "2.3.3",
|
"grunt-bg-shell": "2.3.3",
|
||||||
"grunt-contrib-clean": "1.0.0",
|
"grunt-contrib-clean": "1.0.0",
|
||||||
"grunt-contrib-jshint": "1.0.0",
|
"grunt-contrib-jshint": "1.0.0",
|
||||||
|
"grunt-contrib-watch": "1.0.0",
|
||||||
"grunt-jscs": "3.0.1",
|
"grunt-jscs": "3.0.1",
|
||||||
"grunt-shell": "1.3.0",
|
"grunt-shell": "1.3.0",
|
||||||
"jquery-deparam": "0.5.2",
|
"jquery-deparam": "0.5.2",
|
||||||
|
|
Loading…
Reference in New Issue