Skip to content

Conversation

ezolenko
Copy link
Owner

@ezolenko ezolenko commented Jun 20, 2023

Summary

Fixes #443, should incidentally fix #444

Details

Disabling cache in watch mode, speeds it up considerably, which was the whole point of having a cache in the first place.

This is slightly different from simply using clean: true for watch mode -- clean: true also deletes all old caches. clean: false in watch mode would bypass cache without touching old caches.

@ezolenko ezolenko merged commit f861350 into master Jun 20, 2023
@agilgur5 agilgur5 changed the title disabling cache in watch mode disable cache in watch mode Jun 30, 2023
@agilgur5 agilgur5 added the kind: optimization Performance, space, size, etc improvement label Jul 11, 2023
@agilgur5 agilgur5 deleted the watchmodecache branch July 19, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: optimization Performance, space, size, etc improvement scope: cache Related to the cache scope: watch mode Related to Rollup's watch mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Watch mode has stale cache when using aliases Rollup config hashing for cache is very slow when rebuilding in watch mode
2 participants