From 00fd9d9d919b59e73ea67b4f10dadeb8d5b2d9c9 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Sat, 15 Mar 2014 19:18:10 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index b10942c1b6..a3f8c06b56 100644 --- a/Gruntfile.js +++ b/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 () {