From: Steve Sutton Date: Tue, 13 Jan 2015 20:42:41 +0000 (-0500) Subject: Only copy the files on first build X-Git-Tag: v1.0.0^2~39 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5f8edbce2727b332925c0f5467bf88063ea0565a;p=WP-Themes%2Fmuerkitchens.git Only copy the files on first build This should speed up grunt default tasks --- diff --git a/Gruntfile.js b/Gruntfile.js index 409b9f2..1ccb5da 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -60,7 +60,7 @@ module.exports = function(grunt) { grunt: { files: ['Gruntfile.js'] }, sass: { - files: 'scss/**/*.scss', + files: 'scss/**/*.{scss,sass}', tasks: ['sass'] }, @@ -79,5 +79,5 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.registerTask('build', ['sass', 'copy', 'uglify', 'concat']); - grunt.registerTask('default', ['build','watch']); -} \ No newline at end of file + grunt.registerTask('default', ['watch']); +}