Skip to content

Instantly share code, notes, and snippets.

@carloscasalar
Last active February 16, 2017 12:10
Show Gist options
  • Save carloscasalar/2085cc93b6c7ced5ad62 to your computer and use it in GitHub Desktop.
Save carloscasalar/2085cc93b6c7ced5ad62 to your computer and use it in GitHub Desktop.
Tips gulp

Gulp tips and links

Links

Recipes

Videos

Gulp Build System Part 3: Gulp File

Troubles

Using Karma inside Gulp

In order to avoid WARN 'start' method is deprecated since 0.13 while calling karma inside grunt (From Meanjs.fr):

var gulp = require('gulp');  
var KarmaServer = require('karma').Server;

gulp.task('test:browser', function(){  
    new KarmaServer({
        configFile: __dirname + '/karma.conf.js',
        singleRun: true
    }).start();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment