Skip to content

Instantly share code, notes, and snippets.

@izadmehr
Forked from scott4dev/clean.sh
Created May 16, 2018 16:31
Show Gist options
  • Save izadmehr/b737ba6c501c066469133edfffc65f9f to your computer and use it in GitHub Desktop.
Save izadmehr/b737ba6c501c066469133edfffc65f9f to your computer and use it in GitHub Desktop.
Clean Heroku npm cache
heroku config:set NODE_MODULES_CACHE=false
git commit -am 'rebuild' --allow-empty
git push heroku master
heroku config:unset NODE_MODULES_CACHE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment