https://github.com/tmpfs/webpack-worker-bug
Webpack worker bug
https://github.com/tmpfs/webpack-worker-bug
Last synced: 4 months ago
JSON representation
Webpack worker bug
- Host: GitHub
- URL: https://github.com/tmpfs/webpack-worker-bug
- Owner: tmpfs
- Created: 2021-12-23T03:36:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-23T03:37:13.000Z (over 3 years ago)
- Last Synced: 2025-01-05T02:12:15.434Z (6 months ago)
- Language: HTML
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack Worker Bug
Reproduces an issue whereby a `Worker` is sometimes instantiated twice using `webpack@5`.
The messages *App is rendering* and *Creating worker* are always printed once, however *Worker is running* is sometimes printed twice. This may not be the first time the page loads and you may need to refresh the window/tab to reproduce this.
Note that this does not appear to only exist when running the dev server, production builds also exhibit this behavior.
Tested in Firefox 95.0.2 and Chrome 92.0.4515.107.