codymikol / karma-webpack

Karma webpack Middleware
MIT License
830 stars 222 forks source link

fix(controller): add entropy to default dir #469

Closed codymikol closed 3 years ago

codymikol commented 3 years ago
fix(controller): add entropy to default dir

This adds a random number to the end of the
default karma_webpack directory. This will
prevent projects running multiple instances
of karma webpack in parallel from stepping
on one another.

Fixes #465

This PR contains a:

Motivation / Use-Case

Currently users trying to run multiple instances of karma-webpack will run into issues because the default project directory is a static temporary directory. To fix this we add some random numbers to the end of the directory so different builds running in parallel won't step on one another.

Breaking Changes

N/A

Additional Info

N/A