on-internet
← Community

Webpack dev server hot reloading not working with reactjs, though i have done "inline:true"?

Stack Overflow ·

Why does Hot Module Replacement stop working on webpack dev server? My package.json file: { "name": "routing-react", "version": "1.0.0", "description": "Just a little ReactJS Training Ground", "main": "index.js", "scripts": { "start": "npm run build", "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack -d && cp src/index.html dist/index.html && webpack-dev-server --content-base src/ --inline --hot", "build:prod": "cp src/index.html dist/index.html && webpack -p" }, "keywords": [ "react" ], "author": "gd10", "license": "MIT", "dependencies": { "css-loader": "^0.28.9", "reac

Comments

Sign in or sign up to comment and upvote.

No comments yet.