简体   繁体   中英

React-dev-server doesn't refresh code

I've stumbled against the issue that react-dev-server, when i alter code , the changes don't appear on the app itself (after refreshing, not hot-loading). I've tried this with setting up a project myself, or using Facebooks Create-react-app, which comes preconfigured, and should work out of the box.

The console doesn't return any errors, or warnings. So i'm quite lost at this point. Any help is appriciated!

Thanks!

Update your node and npm version and restart your system. It should solve the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM