craigburke / karma-gradle

Gradle Plugin for Running tests with Karma
Other
21 stars 11 forks source link

Specified dependency not installed #5

Closed jameskleeh closed 8 years ago

jameskleeh commented 8 years ago

Example config:

karma {

    dependencies(['karma-wrap-preprocessor'])

    profile 'angularJS'

    preprocessors = [
        'grails-app/assets/javascripts/**/*.js': ['wrap']
    ]

    wrapPreprocessor = [
        template: "(function () { 'use strict';  <%= contents %> })()"
    ]
}

The karma-wrap-preprocessor is not included in my node_modules folder. Grails 3.1.0.RC2

eriwen commented 8 years ago

I've noticed that changing dependencies requires one to run karmaClean.