-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
- Webpack Version: 4.1.0
- Operating System (or Browser): macOS BigSur 11.1 (Apple Silicon / M1 / ARM)
- Node Version: 15.5.0
- webpack-plugin-serve Version: 1.2.1
Not sure if this is an issue with webpack-plugin-serve or an underlying dependency, but since switching from x86 Mac to M1 Apple Silicon Mac, webpack-plugin-serve takes high amount of CPU (+100%).
- System trace shows its constantly scanning all the files in the repo (instead of presumably using fsevents)
- Using HMR / http2 / waitForBuild / historyFallback options
- No CPU issue with webpack dev server on same computer / same repo / same web pack version
- Was able to partially work around the issue and reduce CPU usage (down to 20%) by adding watchOptions:
{ ignored: './node_modules/**', aggregateTimeout: 600, poll: 1000, };
Thanks
Metadata
Metadata
Assignees
Labels
No labels