You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the config value for which files to preprocess are saved in a closure when a preprocessor is created. Which means that if a pattern is removed or added after the preprocessor is created, the new pattern is missed because the patterns were saved in a closure.
This is an issue when you're creating a plugin and you want to add a file that you also want to preprocess. That is, in your framework factory function, you add an entry to config.files and add an entry to config.preprocessors for that file. Because of this bug, the preprocessor is never run for the added file.
The text was updated successfully, but these errors were encountered:
Don't lookup the list of patterns of files to preprocess until the
preprocessor is called. This because patterns might be added after the
preprocessor is created, and those will be missed if the patterns are
looked up too early.
Closeskarma-runner#1340
Don't expose Buffer by replacing use with a require call, but
expose Buffer and process as real globals instead, since they are
globals in Node.js.
Note that this depends on these issues to be fixed:
karma-runner/karma#1340alexgorbatchev/node-browser-builtins#50
Currently the config value for which files to preprocess are saved in a closure when a preprocessor is created. Which means that if a pattern is removed or added after the preprocessor is created, the new pattern is missed because the patterns were saved in a closure.
This is an issue when you're creating a plugin and you want to add a file that you also want to preprocess. That is, in your framework factory function, you add an entry to
config.files
and add an entry toconfig.preprocessors
for that file. Because of this bug, the preprocessor is never run for the added file.The text was updated successfully, but these errors were encountered: