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

Projects list doesn't get updated #77

Open
mustafa01ali opened this issue Dec 7, 2016 · 6 comments
Open

Projects list doesn't get updated #77

mustafa01ali opened this issue Dec 7, 2016 · 6 comments
Labels

Comments

@mustafa01ali
Copy link

mustafa01ali commented Dec 7, 2016

Initial setup works fine, however any new projects that I am added to do not show up when I try to fetch the list of all tasks using hcl tasks. Haven't gone through the code, but perhaps the projects and tasks are being cached locally to speed things up. Is there a way to refresh it?

Edit - I can see the new projects on the Harvest website.

@jhawksley
Copy link

I see this too. I tried using the --reauth option to at least log in again -- no change.

@mustafa01ali
Copy link
Author

mustafa01ali commented Dec 19, 2016 via email

@jhawksley
Copy link

@mustafa01ali workaround works great - thanks!

@dpikt
Copy link

dpikt commented Jan 26, 2017

Awesome, this worked for me too! The path on my system was ~/.hcl/cache/tasks.yml.
Version 0.4.15 for reference.

@dpikt
Copy link

dpikt commented Jan 26, 2017

Btw this is a pretty big issue for companies that add new projects regularly. Maybe there should be a flag for clearing the cache, something like hcl tasks --clear-cache?

@zenhob I would be happy to open a PR for this if you think it's a good idea.

@dpikt
Copy link

dpikt commented Jan 26, 2017

Just saw #71 😀

@zenhob zenhob added the bug label Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants