Expand my Community achievements bar.

SOLVED

Changes in file is not reflecting after deployment

Avatar

Level 3

ShubhamAg2_0-1729080121336.png

I have created multiple components that are running fine on my local system. I deployed my app once and undeployed after some time. Now I  added one more component that is running fine locally but when I deployed the app it showed me the last deployed app.

 

1 Accepted Solution

Avatar

Correct answer by
Level 6

I too faced similar issue. So instead `aio app deploy`, I changed to `aio app deploy --force-build`

 

Here is deploy commands 

sarav_prakash_0-1729085475198.png

So without `--force-build`, it is NOT compiling web-assets even when they had changes. Adding the `--force-build` was then building and changes were served. 

View solution in original post

3 Replies

Avatar

Employee
Employee

Hi @ShubhamAg2 - you have not provided us enough information to help you. Please provide way more information.

Avatar

Correct answer by
Level 6

I too faced similar issue. So instead `aio app deploy`, I changed to `aio app deploy --force-build`

 

Here is deploy commands 

sarav_prakash_0-1729085475198.png

So without `--force-build`, it is NOT compiling web-assets even when they had changes. Adding the `--force-build` was then building and changes were served.