Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.

v3 - add 'clean cache' script #886

Open
tiptronic opened this issue Jan 11, 2019 · 2 comments
Open

v3 - add 'clean cache' script #886

tiptronic opened this issue Jan 11, 2019 · 2 comments
Labels

Comments

@tiptronic
Copy link

add a dedicated 'npx app clean' script to get rid of the current cache

@scriptPilot
Copy link
Owner

scriptPilot commented Jan 11, 2019

@tiptronic - What is the use case behind? As soon as you edit any files, the cache will be updated.

@tiptronic
Copy link
Author

The current build behavior most often leaves traces of the former cache.

You can easily reproduce, if you just copy some (even unrelated) src files - or even replace your current 'src' directory.

E.g. Safari and Chrome keep their own caches, so they keep traces of the last cache valid.

So it happens, after swapping files, etc... the cache fails to update all traces....

If there's a 'clean cache' script, which forces those browsers to invalidate caches, the problem is sovled.

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

No branches or pull requests

2 participants