Skip to content

Commit

Permalink
feat(app): run unit tests when test scripts are changed
Browse files Browse the repository at this point in the history
When files in the test folder are updated, run karma
  • Loading branch information
eddiemonge committed Nov 10, 2013
1 parent cd264e4 commit 94af0b5
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 @@ -23,8 +23,8 @@ module.exports = function (grunt) {
tasks: ['coffee:dist']
},
coffeeTest: {
files: ['test/spec/{,*/}*.coffee'],
tasks: ['coffee:test']
files: ['test/spec/{,*/}*.{coffee,js}'],
tasks: ['coffee:test', 'karma']
},<% if (compassBootstrap) { %>
compass: {
files: ['<%%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
Expand Down

0 comments on commit 94af0b5

Please sign in to comment.