diff --git a/package.json b/package.json index 1aa99b26bbfb9..6635b1301a054 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,6 @@ "glob-promise": "3.1.0", "htmlescape": "1.1.1", "http-status": "1.0.1", - "is-windows-bash": "1.0.3", "json-loader": "0.5.4", "loader-utils": "1.1.0", "md5-file": "3.1.1", diff --git a/server/hot-reloader.js b/server/hot-reloader.js index ed9d8fe032469..cd429390ae49f 100644 --- a/server/hot-reloader.js +++ b/server/hot-reloader.js @@ -2,7 +2,6 @@ import { join, relative, sep } from 'path' import WebpackDevMiddleware from 'webpack-dev-middleware' import WebpackHotMiddleware from 'webpack-hot-middleware' import onDemandEntryHandler from './on-demand-entry-handler' -import isWindowsBash from 'is-windows-bash' import webpack from './build/webpack' import clean from './build/clean' import getConfig from './config' @@ -172,22 +171,13 @@ export default class HotReloader { /(^|[/\\])\../, // .dotfiles /node_modules/ ] - const windowsSettings = isWindowsBash() ? { - lazy: false, - watchOptions: { - ignored, - aggregateTimeout: 300, - poll: true - } - } : {} let webpackDevMiddlewareConfig = { publicPath: '/_next/webpack/', noInfo: true, quiet: true, clientLogLevel: 'warning', - watchOptions: { ignored }, - ...windowsSettings + watchOptions: { ignored } } if (this.config.webpackDevMiddleware) {