Skip to content

fix(file-list): revert "do not preprocess up-to-date files" (#3226)#3230

Merged
johnjbarton merged 1 commit intokarma-runner:masterfrom
segrey:fix-3226
Dec 6, 2018
Merged

fix(file-list): revert "do not preprocess up-to-date files" (#3226)#3230
johnjbarton merged 1 commit intokarma-runner:masterfrom
segrey:fix-3226

Conversation

@segrey
Copy link
Contributor

@segrey segrey commented Dec 6, 2018

This reverts commit 5334d1a
karma-webpack preprocessor updates bundle when needed, but karma's fileList consists of a single entry file which is usually unmodified. In this case, fileList.refresh() should always call preprocessor for the single entry file, avoiding preprocessing of unmodified files is done on karma-webpack side.

This reverts commit 5334d1a
karma-webpack preprocessor updates bundle when needed, but karma's fileList consists of a single entry file which is usually unmodified. In this case, fileList.refresh() should always call preprocessor for the single entry file, avoiding preprocessing of unmodified files is done on karma-webpack side.
Copy link
Contributor

@johnjbarton johnjbarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following up!

@segrey
Copy link
Contributor Author

segrey commented Dec 6, 2018

@johnjbarton Thanks for the quick turnaround. Sorry for the regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants