Fix earlier commit for grunt watch.

refs TryGhost/Ghost-UI#18
- Trigger livereload when files in core/client/assets/css/ change
- Copy over new ghost-ui files when changed
This commit is contained in:
Fabian Becker 2014-03-15 19:18:10 +00:00
parent 91ad372c36
commit 00fd9d9d91

View File

@ -63,14 +63,21 @@ var path = require('path'),
],
tasks: ['concat']
},
'ghost-ui': {
files: [
// Ghost UI CSS
'bower_components/ghost-ui/dist/css/*.css'
],
tasks: ['copy:dev']
},
livereload: {
files: [
// Theme CSS
'content/themes/casper/css/*.css',
// Ghost UI CSS
'bower_components/ghost-ui/dist/css/*.css',
// Theme JS
'content/themes/casper/js/*.js',
// Client CSS
'core/client/assets/css/*.css',
// Admin JS
'core/built/scripts/*.js'
],
@ -556,7 +563,6 @@ var path = require('path'),
grunt.initConfig(cfg);
// ## Custom Tasks
grunt.registerTask('setTestEnv', 'Use "testing" Ghost config; unless we are running on travis (then show queries for debugging)', function () {