Reputation: 51
My changes above in screenshot. Just changed the text to Download PDF
before it was something else.
Replaced the folder here with the complied code
Used this command to compile: ng build --base-href=/parent/ --configuration=production
I have Angular code. I made changes to it and complied with it. It complied successfully with no errors and when I replace the complied folder in server it does not reflect changes.
I tested it out by changing the spelling to make sure I am not making wrong changes or at least the small spelling such as “Ham” to “Han” should reflect as its just text changes but I see no changes.
The process I followed is:
parent
folder.dist
folder and inside dist
folder it had parent
folder, so I replace the parent folder in live server because in server we have parent
folder where I want to make changes, so I replaced it with my parent folder with my changes.So, what I am doing wrong here or missing something, so it does not reflect changes? I had to change in complied file to reflect the changes which is not best way.
Upvotes: 0
Views: 324
Reputation: 1527
Just look through the dist folder an look for you changes if they are there probably your server caches the files. If not you maybe need to specify the project in the build command.
Upvotes: 0