Created
October 20, 2015 16:21
-
-
Save mattkelley/9b06b9e6ac995f3bd6d6 to your computer and use it in GitHub Desktop.
modify grunt tasks inside registerTask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reconfigure tasks | |
Array.prototype.map.call([ | |
// Unit tests should run in the background | |
['karma.unit.background', true], | |
// Unit tests should run on every JS change | |
['karma.unit.singleRun', false] | |
], function(args) { | |
return grunt.config.set(args[0], args[1]) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment