We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dba325b + c1bf6f6 commit 37a7d33Copy full SHA for 37a7d33
Gruntfile.js
@@ -23,15 +23,17 @@ module.exports = function (grunt) {
23
},
24
karma: {
25
options: {
26
- configFile: 'test/karma.conf.js'
+ configFile: 'test/karma.conf.js',
27
+ browsers: ['Firefox', 'PhantomJS']
28
29
unit: {
- singleRun: true,
30
- browsers: ['Firefox', 'PhantomJS']
+ singleRun: true
31
+ },
32
+ watch: {
33
+ autoWatch: true
34
35
server: {
- background: true,
36
+ background: true
37
}
38
39
jshint: {
@@ -48,6 +50,7 @@ module.exports = function (grunt) {
48
50
49
51
// Register tasks
52
grunt.registerTask('default', ['jshint', 'karma:unit']);
53
+ grunt.registerTask('watch', ['jshint', 'karma:watch']);
54
55
grunt.initConfig(initConfig);
56
};
0 commit comments