Nirav Suthar
Nirav Suthar

Reputation: 21

Running Heroku app not showing the changes in the uploaded files

I push updates to Heroku

git push Heruko master

then go and run my app from the Heroku page and the changes are not showing in the running app.

If I run bash and look at the files on Heroku, the changes are in the files. It shows "Everything is up-to-date" message and no code reflects.

I've tried restarting the app and the changes are still not reflected in the running app.

Upvotes: 1

Views: 949

Answers (2)

Sahar Toledano
Sahar Toledano

Reputation: 61

don't forget to build your front and copy that folder to the public folder on the backend... it's happen to me ;)

Upvotes: 1

  1. check the git log to check the date and the name of the commit you are uploading.
  2. if the commit is right, try deleting the existing app on heroku and upload again
  3. Check in your package.json, the start script is pointing to your server.js file

Upvotes: 0

Related Questions