Why are my CSS/JS changes not showing up in my Node app?

Issue

Deployed changes to CSS or javascript assets are not showing up after deploying a Node app.

Resolution

If your app requires a build step to compress and combine assets and you are not seeing recent changes, then it's likely that you are forgetting to run that build step.

If you want this build step to run automatically each time you deploy to Heroku (which is a good idea) we have some tips on setting that up here: https://devcenter.heroku.com/articles/node-best-practices#hook-things-up This works for things like gulp build, webpack, ng-build and similar commands.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support