Giter Site home page Giter Site logo

reload-loop-test-webpack-dev-server's Introduction

Fixed in webpack-dev-server

The problem outlined in this repo has been fixed in webpack-dev-server released 2.4.2

Reload issue in Firefox with webpack-dev-server

To run this reproduction:

Clone the repo, run yarn install (or npm install). Start the slow server with yarn start (npm start). Then (in a new shell), run yarn run dev (npm run dev).

Webpack-dev-server should open a new browser tab with the test app. It should show "Hello, world!". If you refresh the page, it goes into a reload loop, with [WDS] Disconnected! in the console.

It seems the important trigger is the long load time simulated in server.js.

System details

This fails in Firefox. It doesn't seem to have any issue in Chrome.

I have not tested in Windows, only Linux.

  • OS: Xubuntu 15.10
  • Firefox: 52 x64

Package versions

This is what I have, and should be installed if using Yarn.

  • babel-core 6.23.1
  • babel-loader 6.4.0
  • babel-preset-latest 6.22.0
  • babel-preset-react 6.23.0
  • express 4.15.2
  • react 15.4.2
  • react-dom 15.4.2
  • webpack 2.2.1
  • webpack-dev-server 2.4.1

reload-loop-test-webpack-dev-server's People

Contributors

samsch avatar

Watchers

 avatar  avatar

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.