0

I have an Angular App which is already deployed on Azure. I made some changes and tested the app locally using ng serve to verify my changes. Then I used ng build to get the artifacts in the dist directory. I then use the Azure App Services extension in VS code to "Deploy to Web App..." and selected the dist folder for deployment. It then gives me a message that it was successfully deployed. However, when I go to the website, I still see the old version and not my new version which I just deployed. Can someone please point out what I'm missing. Thanks!

Levi Lu-MSFT
  • 27,483
  • 2
  • 31
  • 43
locke14
  • 1,335
  • 3
  • 15
  • 36

1 Answers1

1

Here is something which worked for me:

  • to build(**ng build --prod**) on the modified project to update the dist folder,
  • Try deploying it now to the azure web app
  • Finally if still doesn't reflect , check in Azure web app using KUDU to see if the latest changes are there.
  • Try restarting your web app as well.

Hope it helps.

Mohit Verma
  • 5,140
  • 2
  • 12
  • 27