-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the programmatic API of browserify #13
Comments
Thanks for opening this issue. There are a couple reasons why I chose to use process-spawning rather than the browserify/watchify APIs. 1. Ease of debugging 2. Support for any plugin/transform/etc. So that's my reasoning. Please let me know what you think... |
yes, it makes sense to me... but I wonder whether it would be faster with a single thread. When I tried it to bundle approximately 50 files, it worked pretty slowly |
50 files?!? wow! You're definitely using it at a larger scale than I ever have. Most of my projects have ~10 files or less. If you find any ways to improve performance, I'd be glad to see them. |
Is there any reason you don't use the programmatic API of browserify/watchify
Spawning a new process for every entry point seems slow to me.
Would you accept a PR that would leverage the programmatic API of the tools?
The text was updated successfully, but these errors were encountered: