Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into MariuszTrybus-workflow
  • Loading branch information
CraigCav committed Sep 3, 2014
2 parents f219919 + 4a28094 commit 094e907
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin.js
Expand Up @@ -3,7 +3,11 @@
var karma = require('karma');

var registration = function(config, register) {
if (config.karma && config.isWatch) {
if (config.karma) {
if (config.isWatch) {
register(['add', 'update', 'remove'], 'complete', _startKarma);
}

register(['postBuild'], 'complete', _startKarma);
}
};
Expand Down

0 comments on commit 094e907

Please sign in to comment.