0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Merge pull request #2403 from halfdan/watch-ghost-ui2

Fix earlier commit for grunt watch.
This commit is contained in:
John O'Nolan 2014-03-17 15:40:58 +01:00
commit ad356a9b0a

View file

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