Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(build): use grunt-newer for styles and jshint
Browse files Browse the repository at this point in the history
Applied @tschaub's changes to generator-webapp using grunt-newer for jshint and
style copying.

See yeoman/generator-webapp#193
  • Loading branch information
passy committed Nov 16, 2013
1 parent 3eac6c6 commit b1eeb68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down Expand Up @@ -410,7 +410,7 @@ module.exports = function (grunt) {
]);

grunt.registerTask('default', [
'jshint',
'newer:jshint',
'test',
'build'
]);
Expand Down

0 comments on commit b1eeb68

Please sign in to comment.