Comments (13)
As I said, I tested it with the exact files from this repo without any changes.
index.js:
import React from 'react';
import { App } from './App';
React.render(<App />, document.getElementById('root'));
webpack.config.js:
var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
entry: [
'webpack-hot-middleware/client',
'./src/index'
],
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: '/static/'
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin()
],
module: {
loaders: [{
test: /\.js$/,
loaders: ['babel'],
include: path.join(__dirname, 'src')
}]
}
};
from react-transform-boilerplate.
Sorry about that. I removed my comment before.
from react-transform-boilerplate.
Are you using the latest browsers? I was having the same problem on Win7 until I updated Chrome to 45. I now have HMR working on two different Win10 machines with zero modifications to the repo.
from react-transform-boilerplate.
I'm pretty sure I'm using the latest versions: Chrome 45.0.2454.85 m
and Firefox 40.0.3
from react-transform-boilerplate.
When I open http://localhost:3000/__webpack_hmr it's loading infinitely without any output, if that's of any help. There is no firewall on my system and antivirus is currently disabled.
from react-transform-boilerplate.
I have the same problem on windows 10 and don't see errors in the console Chrome. Are there any solutions to fix this?
from react-transform-boilerplate.
I'm using this on Windows 10 x64 Chrome Version 45.0.2454.85 m and it is working fine for me ! But no dist folder is getting created , i think i'm missing something.
from react-transform-boilerplate.
Im running Win7 x64 with Chrome Version 45.0.2454.85 m (64-bit) and I am having the same problem with the hot reloading not working.
I am using io.js Version 3.3.0 for Windows x64
from react-transform-boilerplate.
I'm also doing fine on Windows 10 x64 with Node.js 0.12.7.
I wonder if io.js or Node 4.0 are the ones causing the issue?
from react-transform-boilerplate.
But no dist folder is getting created , i think i'm missing something.
It shouldn't be created; that's just because Webpack wants us to put something in it. (At least it used to crash without a path
.)
from react-transform-boilerplate.
Myabe we need should create socket version for windows?
from react-transform-boilerplate.
Please report this upstream to https://github.com/glenjamin/webpack-hot-middleware/.
I'm afraid I can't help you here.
from react-transform-boilerplate.
Simplest fix this issue (on Win 10 x64): if you are using GitBash as console, set the compatibility mode to Win 7, and restart the console.
from react-transform-boilerplate.
Related Issues (20)
- Do we need babel-polyfill in production HOT 1
- React transform or hmre? HOT 1
- Debug in devtools HOT 1
- Can you give an example of how to use with webpackDevServer? HOT 3
- Feature request: Built in redux-devtools HOT 1
- console shows error: Uncaught Invariant Violation HOT 5
- github archive doesn't contain .babelrc HOT 1
- How to view app in mobile device? HOT 2
- There are some problem and suggest. HOT 1
- Weird behaviour when adding text HOT 3
- If "full reload needed" does this need to be manually? HOT 5
- Problems with NoErrorsPlugin HOT 2
- Doesn't work with react Component class wrapper HOT 3
- Error when using Webpack 2 and es2015-webpack preset HOT 4
- Doesn't work with React-Router :( HOT 5
- Failed at start script 'NODE_PATH='source' node devServer.js' HOT 1
- How to load css
- React.PureComponent doesn't work with HMR HOT 2
- Stateless functional component not hot reloading HOT 1
- hotReload is not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-transform-boilerplate.