Created
October 17, 2018 06:52
-
-
Save ultimateprogramer/5aebf9a83678a5e2d24e9e7ebaa5c209 to your computer and use it in GitHub Desktop.
Invalidate Heroku NodeJS `node-modules` cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heroku config:set NODEMODULESCACHE=false | |
| git commit -am 'rebuild' --allow-empty | |
| git push heroku master | |
| heroku config:unset NODEMODULESCACHE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment