ReactJs project local run cannot be hot updated

I recently came into contact with a front-end project, using the reactJs framework. After the local npm run start, the code is modified and saved, and cannot be automatically hot updated. For the code to take effect, you must re-npm run start locally to take effect.

Looking at the package.json file, the dora-plugin-webpack-hmr plugin is used to achieve hot update, but I don't know why it is not updated. . .

Later, I found that it was ok to change the IDE settings. Just sleepremove the "safe write" check mark as shown in the figure below.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324573562&siteId=291194637