DEV Community

Discussion on: Using Create-React-App with Express

Collapse
 
zawadzkip profile image
Patrick Zawadzki

Is it possible to serve the "public/index.html" instead of "build" for development, edit my react files, and still have the site on localhost:8080 catch the updates?

Collapse
 
loujaybee profile image
Lou (🚀 Open Up The Cloud ☁️)

The public/index.html is the (slower) build script. I'm not quite sure why you'd want to do that. Running on port 3000 is just better for speed of local dev. If you can elaborate a little more, maybe I can help!