nikku / karma-browserify

A fast Browserify integration for Karma that handles large projects with ease
MIT License
321 stars 49 forks source link

Allow by configuration to keep bundles for future use #174

Closed facundocabrera closed 8 years ago

facundocabrera commented 8 years ago

Hey,

I'm running in some issues and found no way to keep the bundles ran into the browser to be analysed. Could be possible to make the bundle clean up to be conditional?

Let me know if doesn't make sense to allow this, in the meantime I'm looking for an alternative for manual testing.

Thanks!

bendrucker commented 8 years ago

Don't think this really makes a lot of sense. You can just enable a high enough log level to get the path and then copy the bundle.

TheSavior commented 8 years ago

@bendrucker Doesn't karma clean up and delete the tmp directories, which include the bundles, after the run?

bendrucker commented 8 years ago

Right, so the idea would be to use autoWatch and then grab the bundle while the build is waiting

facundocabrera commented 8 years ago

@bendrucker I been trying to do that, but no worries, I'll handle that by myself if it's too much work add if statement in the code.

nikku commented 8 years ago

@dendril You are free to propose your changes as part of well documented and tested PR. That makes it easier to get your feature into the code base :wink:.