Skip to content

Commit a6c601d

Browse files
author
Matt Mazzola
committed
Update gulpfile.js to use argv.watch to control karma.singleRun value to match other repositories
1 parent 1f43593 commit a6c601d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ gulp.task('compile:spec', 'Compile spec tests', function () {
191191
gulp.task('test:js', 'Run js tests', function (done) {
192192
new karma.Server.start({
193193
configFile: __dirname + '/karma.conf.js',
194-
singleRun: argv.debug ? false : true,
194+
singleRun: argv.watch ? false : true,
195195
captureTimeout: argv.timeout || 60000
196196
}, done);
197197
});

0 commit comments

Comments
 (0)