[WDS] disconnected! constantly appear on windows 8
See original GitHub issueOne of our team member’s system is win8, when he run webpack-dev-server everything seems worked. But every few seconds a [WDS] disconnected! error shows in console and page then refresh.
In the meantime, this issue don’t appear on win7.
I had tried ways mentioned in #326, still can’t solve the problem.
Here is our webpack.config.js
var webpack = require("webpack");
var path = require("path");
var HtmlWebpackPlugin = require('html-webpack-plugin');
var config = {
entry: {
"vendor1": ["react", "react-dom", "react-router", "react-router-redux", "react-redux", "redux"],
"vendor2": ["crypto-js", "fastclick"],
"app": "./js/index.js"
},
output: {
path: './build/',
filename: 'js/[name].js',
publicPath: '/build/',
chunkFilename: "js/[id].bundle.js"
},
module: {
loaders: [
{
test: /\.js$/,
include: [
path.resolve(__dirname, "js")
],
exclude: [
path.resolve(__dirname, "build"),
path.resolve(__dirname, "node_modules")
],
loader: 'babel-loader',
query: {
presets: ['es2015', 'react'],
plugins: ['transform-object-assign']
}
},
{
test: /\.css$/,
loaders: ["style", "css?-minimize"]
},
{
test: /\.(png|jpg|woff|woff2|eot|ttf|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'url?limit=512&&name=[path][name].[ext]?[hash]'
}
]
},
plugins: [
new webpack.optimize.CommonsChunkPlugin({
names: ["vendor2","vendor1"],
minChunks: Infinity
})
],
resolve: {
modulesDirectories: [
'node_modules'
]
}
};
module.exports = config;
Issue Analytics
- State:
- Created 7 years ago
- Comments:26 (13 by maintainers)
Top Results From Across the Web
WDS disconnected! constantly appear - Stack Overflow
Running webpack-dev-server is fine. First page load is ok. But when I refresh the browser, every 2 seconds 'WDS disconnected' appears in ...
Read more >Windows 8.1 keeps disconnecting from Wireless Network ...
Method 1: I would suggest you to run network troubleshooter to check for any Internet connectivity issues. a. Press the 'Windows + W'...
Read more >WD External Hard drive keeps connecting and disconnecting
My WD External Hard drive keeps connecting and disconnecting every second or so. I already went into power settings and disabled the USB...
Read more >GlobalProtect keeps on disconnecting : r/paloaltonetworks
i.e. check the device configuration, it could be you have a simple firewall rule setting that causing it to block the traffic.. If...
Read more >How do I fix my TP-Link router as it disconnected several times?
i would look at the error logs on the router settings page see if that shows anything. routers shutdown for many reasons it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@MoeSattler and @superddr, are you using the dev-server via CLI?
Note that in dev-server 2.0 beta, the CLI enables inline mode by default. So if you’re manually including the
webpack-dev-server/clientmodule, the module is loaded two times. Either use the cli with--no-inline, or remove the module from your entry.The pull which fixed this issue originally shouldn’t fail for even longer server delays, and running my test case with updated versions doesn’t fail (in linux). I don’t have immediate access to Windows or a Mac to test on right now.
@ocollins @Sozialarchiv @goodmorninggoaway We need a testcase which fails to diagnose the issue. Feel free to fork from my repo for the test (you will need to update the versions).
Versions I tested with: