node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


CLI app that wraps Broccoli's watcher and Karma's runner, so that Karma will run on Broccoli builds.


Your Karma conf needs to be set up to serve files from a specified output directory (in the below example, output/), as well as autoWatch: false (to disable the built-in watcher) and singleRun: false (so that it will continue to run):

module.exports = function(config) {
    files: [
    autoWatch: false,
    singleRun: false
    // of your config! 

And then just run broccoli-karma with output/ as the specified directory:

broccoli-karma output/