mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
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:
parent
91ad372c36
commit
00fd9d9d91
12
Gruntfile.js
12
Gruntfile.js
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user