-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Rails 5.1 & webpacker require clearing cache before every deploy #562
Comments
We're having the same issue |
Can you open up issues help.heroku.com search for "Rails 5.1 & webpacker require clearing cache before every deploy", so that I can look at your app? Right now I've got no idea why this is happening. I've seen a few apps with with this reported, but no definitive causes or solutions yet. I opened rails/webpacker#395 an I'm exploring ways to get more debug output with the command. |
@schneems I'm actually using this with dokku instead of Heroku |
Update: Adding "postinstall": "npm rebuild node-sass" to my I no longer need to clear the cache before every deploy. |
A deploy will fail to on
assets:precompile
without any errors in STDOUT or the build log.Workaround
Run
heroku repo:purge_cache -a [app]
before every deploySee #561 for more history
/cc @hone
The text was updated successfully, but these errors were encountered: