novocaine/sourcemapped-stacktrace

Callback executed multiple times when there are multiple bundles

Opened this issue · 2 comments

x1B commented

I'm using a setup where there is a "vendor" bundle containing libraries such as Angular, and an "app" bundle containing our project specific code. In this case, it seems that my completion callback is executed twice. When I log the stack trace, the first trace contains the translations from the vendor bundle, and the second trace contains all translations.

I'll try and see if I can understand the code well enough to provide a pull request.
Thanks for creating this very useful tool, btw.!

I've seen the same issue. Do you have any workarounds?

_.debounce works as a workaround.