W
W
Worddoc2019-02-14 17:14:03
Automation
Worddoc, 2019-02-14 17:14:03

How to force webpack server hot reload to update another host?

Hello! The problem is this: I'm doing a SPA in React, based on create-react-app. The django backend works on a different host and port, but it also starts a local server, just like through webpack - it turns out 2 local servers. It is very necessary to make sure that when changing the files of the React application, through the hot reaload of the webpack server, the page is updated on the django host, and not on the host of the local webpack server. It is necessary to take into account that the initial markup lies in the Dzhanga template. I would be very grateful for your help!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question