Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Doesn't re-use bundle for caching #8

Closed
tivac opened this issue Jul 6, 2016 · 3 comments
Closed

Doesn't re-use bundle for caching #8

tivac opened this issue Jul 6, 2016 · 3 comments

Comments

@tivac
Copy link
Contributor

tivac commented Jul 6, 2016

It looks like rollup supports setting the cache property on the options to a previously-generated bundle to speed up builds in Bundle.js#L24-L28, which is awesome.

Unfortunately rollup-watch doesn't seem to use this feature to speed up watched builds. Any particular reason? Could it? I'd happily send a PR if it would help! I just switched from browserify + rollupify over to rollup-watch and the lack of incremental builds is pretty brutal.

@Rich-Harris
Copy link
Contributor

Huh – I could have sworn...

That PR would be great, thanks! Note that even with incremental rebuilds, there's a bit of work we still need to do before it's as fast as it can be: rollup/rollup#723

@tivac
Copy link
Contributor Author

tivac commented Jul 7, 2016

Cool, working on it atm.

@Rich-Harris
Copy link
Contributor

Thanks! Released 2.5.0

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

No branches or pull requests

2 participants