From 748a05c697f13319ae58f407a9946ba4651ae0f3 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Wed, 20 Dec 2017 10:41:54 +0100 Subject: [PATCH] Copy fonts to output on default and build task Prevents missing fonts after clean --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a534b6e3..e30009fd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -162,6 +162,6 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-browserify'); grunt.registerTask('fonts', ['clean:fonts','copy:fonts']); - grunt.registerTask('default', ['exec:bower_update','clean:build','sass:dev','browserify:dev','exec:build_sphinx','connect','open','watch']); - grunt.registerTask('build', ['exec:bower_update','clean','sass:build','browserify:build','exec:build_sphinx']); + grunt.registerTask('default', ['exec:bower_update','clean:build','copy:fonts','sass:dev','browserify:dev','exec:build_sphinx','connect','open','watch']); + grunt.registerTask('build', ['exec:bower_update','clean','copy:fonts','sass:build','browserify:build','exec:build_sphinx']); }