How to run build on localhost

 

Before deploying to server, first run the build on localhost only.


1. npm install -g serve

and then run below command to run  
 

2. serve -s build

Your new build will run on port 5000.  

Enjoy.

Comments