GithubHelp home page GithubHelp logo

Comments (13)

helarqjsc avatar helarqjsc commented on May 19, 2024

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.

edgesoft avatar edgesoft commented on May 19, 2024

Sorry about that. I removed my comment before.

from react-transform-boilerplate.

jgallow avatar jgallow commented on May 19, 2024

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.

helarqjsc avatar helarqjsc commented on May 19, 2024

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.

helarqjsc avatar helarqjsc commented on May 19, 2024

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.

anorudes avatar anorudes commented on May 19, 2024

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.

mayankchd avatar mayankchd commented on May 19, 2024

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.

shinank avatar shinank commented on May 19, 2024

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.

dallonf avatar dallonf commented on May 19, 2024

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.

gaearon avatar gaearon commented on May 19, 2024

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.

anorudes avatar anorudes commented on May 19, 2024

Myabe we need should create socket version for windows?

from react-transform-boilerplate.

gaearon avatar gaearon commented on May 19, 2024

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.

hushegjo avatar hushegjo commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.