Skip to content

Instantly share code, notes, and snippets.

@robinboehm
Created June 17, 2015 10:39
Show Gist options
  • Save robinboehm/6150b9572a3abdc5961d to your computer and use it in GitHub Desktop.
Save robinboehm/6150b9572a3abdc5961d to your computer and use it in GitHub Desktop.
How to use Karma in Gulp
var gulp = require('gulp'),
karma = require('karma').server;
gulp.task('watch', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
singleRun: false,
autoWatch: true
}, done);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment