chore(karma): re-run karma on source changes as well

This commit is contained in:
Tim Lancina
2016-03-15 10:04:57 -05:00
parent 80613baeec
commit f0bfa18a07
2 changed files with 2 additions and 1 deletions

View File

@ -687,7 +687,7 @@ gulp.task('karma', ['tests'], function() {
return karma.start({ configFile: __dirname + '/scripts/karma/karma.conf.js' })
});
gulp.task('karma-watch', ['tests'], function() {
gulp.task('karma-watch', ['tests', 'watch'], function() {
var karma = require('karma').server;
return karma.start({ configFile: __dirname + '/scripts/karma/karma-watch.conf.js' })
});