https://github.com/boycce/webpack-dev-server-chrome-issue
https://github.com/boycce/webpack-dev-server-chrome-issue
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/boycce/webpack-dev-server-chrome-issue
- Owner: boycce
- Created: 2019-10-16T10:24:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:48:42.000Z (over 3 years ago)
- Last Synced: 2025-03-20T16:48:47.640Z (about 1 year ago)
- Language: JavaScript
- Size: 563 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Webpack-dev-server / Chrome issue
When using `webpack-dev-server` with `writeToDisk` set to true, Chrome seems to lock up for 5-10 seconds when resaving files with an error. The lock duration increases with the bundle size which can become problematic when working on applications
## Steps to reproduce:
1. add the project folder as a chrome workspace
2. `npm install`
3. `npm run dev`
4. open http://localhost:8080 and DevTools
5. re-run `npm run dev`
## Ways to avoid the lock
1. `devServer.writeToDisk = false`
2. or `devServer.inline = false`
3. or close devtools
## Specs
- Ubuntu 18.04.1 LTS
- Chrome Version 77.0.3865.75 (Official Build) (64-bit)
- Node 10/12 (have tested both)
- NPM 6.4.1