From 04deb93703e78beb3fa98bf1e4639bd215662c91 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 21 Apr 2015 11:24:42 -0400 Subject: [PATCH] Updated gruntfile. --- Gruntfile.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 4e629a1..6055dd4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,6 +46,7 @@ module.exports = function(grunt) { }, dist: { src: [ + 'js/dollarsign.js', 'js/foundation/js/foundation.min.js', 'js/custom/*.js' ], @@ -59,9 +60,15 @@ module.exports = function(grunt) { grunt: { files: ['Gruntfile.js'] }, sass: { - files: 'scss/**/*.scss', + files: 'scss/**/*.{scss,sass}', tasks: ['sass'] + }, + + scripts: { + files: ['js/custom/*.js'], + tasks: ['concat', 'uglify'] } + } }); @@ -71,7 +78,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.registerTask('build', ['sass']); - grunt.registerTask('default', ['copy', 'uglify', 'concat', 'watch']); - + grunt.registerTask('build', ['sass', 'copy', 'uglify', 'concat']); + grunt.registerTask('runwatch', ['sass','uglify', 'concat']); + grunt.registerTask('default', ['runwatch','watch']); } -- 2.17.1