hyperstack-org / hyperstack-org/hyperstack
how to undo the cache when changing imports????
- Dominant language
- JavaScript
- Stars
- 538
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
after changing some imports you have to be sure to do a `rm -rf tmp/cache`. It would be great if we could figure out how to fix this. Not sure how you would unless we perhaps did a hash of the config/initializers/hyperstack.rb file, and then used that hash to somehow invalidate the cache.
Meanwhile until there is a real fix, the installer generator should leave a bit fat comment in the file explaining that if you edit this file you should do a `rm -rf tmp/cache`
Like any documentation (install and todo tutorial for example) that mentions the initializer, should in **bold** explain that you need to do the `rm -rf tmp/cache` trick
Contributor guide
Research direction
Start with config/initializers/hyperstack.rb and locate the installer generator that creates it. Then review the install and todo tutorial documentation for references to the initializer and cache clearing. Done means either cache invalidation is handled when the initializer changes, or all relevant generated files and documentation clearly explain the required tmp/cache removal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- documentation, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100