How can I enable hot reloading on a react app with a client side package.json and server side (Express) package.json?
I have a react app with two package.jsons. The frontend currently won’t update unless I run npm run build
each time… I would like to see my frontend changes instantly without having to rebuild it each time. The frontend is react (v 18.3.1) and the backend is in Express. This is what my codebase structure looks like after I only include the relevant folders/files:
How can I enable hot reloading on a react app with a client side package.json and server side (Express) package.json?
I have a react app with two package.jsons. The frontend currently won’t update unless I run npm run build
each time… I would like to see my frontend changes instantly without having to rebuild it each time. The frontend is react (v 18.3.1) and the backend is in Express. This is what my codebase structure looks like after I only include the relevant folders/files: