webpack / webpack-dev-server

Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.
MIT License
7.77k stars 1.43k forks source link

Add visual progress indicator #5177

Closed issacgerges closed 1 month ago

issacgerges commented 2 months ago

Feature Proposal

webpack-plugin-serve supported two built-in visual progress indicators (full and minimal). At the moment webpack-dev-server only supports console based progress.

It would be great if webpack-dev-server provided visual progress via options like

   client: {
       progress: 'console' | 'visual' | 'visual/min'
    }

or if the library provided hooks/instruction for folks to implement themselves

Feature Use Case

To visually see the progress of a compilation

Please paste the results of npx webpack-cli info here, and mention other relevant information

n/a

alexander-akait commented 1 month ago

Hello, do you want to send a PR?

issacgerges commented 1 month ago

https://github.com/webpack/webpack-dev-server/pull/5186

I ended up leaving true for compat and adding circular or minimal, but open to suggestions on everything!

alexander-akait commented 1 month ago

Fixed by https://github.com/webpack/webpack-dev-server/pull/5186