-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
ng new hello-world --defaults
cd hello-world
ng add @azure/ng-deploy
ng run hello-world:deploy
The app builds and then deploys.
Now change something in the app. Then run ...
ng run hello-world:deploy
Browser to the site in Azure. Notice that what is deployed does not contain your changes. It appears that the deploy command is not building if something already exists in the dist/ folder.
Expected behavior
I expected that the deploy command would have always re-built the angular app first or never rebuild it. Options:
- always rebuild before deploying
ng build --prod - never rebuild before deploying. but this would cause an error or the results i mention above.
- prompt the user to rebuild
I like 1 or 3.
Thoughts?
sinedied
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working