Skip to content

Conversation

@lewis-fidlers
Copy link

@lewis-fidlers lewis-fidlers commented Apr 8, 2019

Hi,

this aims to solve #71

summary

It introduces a command to delete cache, as this is the easy approach to solve the issue.

Also takes a shot at (minimalistic) keeping the cache up to date by checking when the file has last been updated. Actual comparison of tasks would be a cleaner solution but would also be a lot more complex.

additions

hcl delete_cache

This will remove the cache file

hcl refresh_cache

This will rebuild the cache file if it has not been changed in the last 24 hours.

changes

running hcl tasks will now run refresh_cache When a cache is available.
If the cache has not been updated for over 24 hours it will rebuild it.

@lewis-fidlers lewis-fidlers force-pushed the features/clear-cache branch from 2f6eb8d to d5ca196 Compare April 8, 2019 18:45
@lewis-fidlers lewis-fidlers changed the title [WIP] Features/clear cache Features/clear cache Apr 8, 2019
@lewis-fidlers lewis-fidlers changed the title Features/clear cache [wip] Features/clear cache Apr 8, 2019
@lewis-fidlers lewis-fidlers changed the title [wip] Features/clear cache Features/clear cache Apr 8, 2019
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

Successfully merging this pull request may close these issues.

1 participant