We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack rebuild bundle on file change when karma-webpack is used with Karma 4.0
Nothing happens, Karma notice file change, but test bundle don't change
// Part of my karma.conf.js module.exports = function (config) { config.set({ frameworks: ['mocha'], files: [{ pattern: 'test/**/*.spec.js' }], preprocessors: { 'test/**/*.spec.js': ['webpack', 'sourcemap'] }, webpack: { // ... module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', exclude: path.join(__dirname, 'node_modules') }, { test: /\.vue$/, loader: 'vue-loader' } ] } }, // ... }) }
My karma config watches on files placed inside test folder. When I save change in folder, webpack doesn't get changes and test run on old files
test
#3226 - Seems to be connected with this issue.
Downgrade Karma to 3.1.4 version fixed the problem.
The text was updated successfully, but these errors were encountered:
Still seeing this on v6.. autoWatch has no effect. Karma simply exits after running tests.
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Webpack rebuild bundle on file change when karma-webpack is used with Karma 4.0
Actual Behavior
Nothing happens, Karma notice file change, but test bundle don't change
Code
How Do We Reproduce?
My karma config watches on files placed inside
test
folder. When I save change in folder, webpack doesn't get changes and test run on old files#3226 - Seems to be connected with this issue.
Fix
Downgrade Karma to 3.1.4 version fixed the problem.
The text was updated successfully, but these errors were encountered: