I am running a react application on a VPS digital-ocean server. My friend and I are doing this project. He updated some code and I replaced those updated files with FileZilla. After updating, I restarted
service apache2 restart the apache server but those changes are not showing on that webpage.
Is there anything I am missing? Please help, I am new and Thanks.
This solved the problem,
First Replace Your Content that you have changed recently.
After replacing content with FileZilla
I have gone into my project file
cd /var/www/html/project-react then run this command
sudo npm run build and then
service apache2 restart and it worked for me.
Answered By – Mohammad Fathi Rahman