Skip to content

Instantly share code, notes, and snippets.

@scott4dev
Created November 2, 2016 11:16
Show Gist options
  • Save scott4dev/eb514406d23c738c1b5789458b4ca842 to your computer and use it in GitHub Desktop.
Save scott4dev/eb514406d23c738c1b5789458b4ca842 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