Skip to content
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

Cache to file for build server speedups #316

Open
elicwhite opened this issue Apr 6, 2016 · 0 comments
Open

Cache to file for build server speedups #316

elicwhite opened this issue Apr 6, 2016 · 0 comments

Comments

@elicwhite
Copy link

Some of our browserify bundles take over 45 seconds to build. While watchify is great for development, building all of our bundles is a significant amount of time on our build machines and deployment server where it doesn't make sense to have a long running process.

It would be immensely valuable to have the watchify cache persisted to disk on process exit (or perhaps on some interval). That would enable multiple watchify instances running in parallel (for different bundles) to all build quickly since they could load the cache from the watchify run on the previous build.

It could also streamline the speed if you generate browserify bundles and run karma. The time required for bundling files for karma would be significantly less as well.

This is aligned with the work @Xanderite did in #313 and #306 as well as @jsdf's work in https://github.com/jsdf/browserify-incremental

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant