Integrated Karma into Gulp with two tasks, test and tdd.
The gulp task 'test' overrides the karma config to run it once rather
than continually watching for file changes. However as karma.conf.js
exports a function, replacing the autowatch property via lodash doesnt
work. This needs further investigation.