hyperstack-org/hyperstack

how to undo the cache when changing imports????

Open

#212 geöffnet am 1. Juli 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (43 Forks)batch import
enhancementhelp wantedneeds doc

Repository-Metriken

Stars
 (531 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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