diff --git a/templates/common/Gruntfile.js b/templates/common/Gruntfile.js index cd9055106..1900bc126 100644 --- a/templates/common/Gruntfile.js +++ b/templates/common/Gruntfile.js @@ -41,7 +41,7 @@ module.exports = function (grunt) { },<% } %> styles: { files: ['<%%= yeoman.app %>/styles/{,*/}*.css'], - tasks: ['copy:styles', 'autoprefixer'] + tasks: ['newer:copy:styles', 'autoprefixer'] }, gruntfile: { files: ['Gruntfile.js'] @@ -410,7 +410,7 @@ module.exports = function (grunt) { ]); grunt.registerTask('default', [ - 'jshint', + 'newer:jshint', 'test', 'build' ]);