Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-dev-server how to disabled --progress #1284

Closed
zlab opened this issue May 14, 2018 · 9 comments
Closed

webpack-dev-server how to disabled --progress #1284

zlab opened this issue May 14, 2018 · 9 comments

Comments

@zlab
Copy link

zlab commented May 14, 2018

What problem does this feature solve?

webpack-dev-server how to disabled --progress

 webpackConfig
          .plugin('progress')
          .use(require('webpack/lib/ProgressPlugin'))

What does the proposed API look like?

vue-cli-service serve

@zlab
Copy link
Author

zlab commented May 14, 2018

vue.config.js set devServer.progress=false dos not work

@LinusBorg
Copy link
Member

This is a question, not a feature request. Please use forum.vuejs.org or chat.vuejs.org to ask for help.

@yyx990803
Copy link
Member

Just curious, why would you want to do that?

@yyx990803
Copy link
Member

This should be possible in the next release.

@zlab
Copy link
Author

zlab commented May 15, 2018

chainConfig.plugins.delete('progress');

@kumorig
Copy link

kumorig commented May 18, 2018

Here is a use case when you don't want progess: Some IDE's (cough, webstorm, cough) doesn't handle the current terminal output very well:
webstorm64_2018-05-18_18-06-07

(I think da38747 was a valiant effort, but because of webpack/webpack-dev-server#201 (comment) it doesn't make any difference, at least not for progress.

@hq5544
Copy link

hq5544 commented Jan 21, 2019

Here is a use case when you don't want progess: Some IDE's (cough, webstorm, cough) doesn't handle the current terminal output very well:
webstorm64_2018-05-18_18-06-07

(I think da38747 was a valiant effort, but because of webpack/webpack-dev-server#201 (comment) it doesn't make any difference, at least not for progress.

Same as Mine.

@geekytime
Copy link

I know this issue is closed, but for anyone that ends up here and is still stuck, I found a potential issue with da38747, and documented a solution here: #4557 (comment)

@justin-calleja
Copy link

@yyx990803 I would want to disable progress report because when running an app using vue-cli-service serve --mode development as a docker-compose service, I get a long wall of text for log output like this very short snippet of the total output:

feapp     | <s> [webpack.Progress] 66% building 696/741 modules 45 active /usr/src/app/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/usr/src/app/node_modules/postcss-loader/src/index.js??ref--9-oneOf-3-2!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!/usr/src/app/node_modules/vuetify/src/components/VColorPicker/VColorPickerSwatches.sass
feapp     | <s> [webpack.Progress] 66% building 696/742 modules 46 active /usr/src/app/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/usr/src/app/node_modules/postcss-loader/src/index.js??ref--9-oneOf-3-2!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!/usr/src/app/node_modules/vuetify/src/components/VProgressLinear/VProgressLinear.sass
feapp     | <s> [webpack.Progress] 66% building 697/742 modules 45 active /usr/src/app/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/usr/src/app/node_modules/postcss-loader/src/index.js??ref--9-oneOf-3-2!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!/usr/src/app/node_modules/vuetify/src/components/VProgressLinear/VProgressLinear.sass
feapp     | <s> [webpack.Progress] 66% building 698/742 modules 44 active /usr/src/app/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/usr/src/app/node_modules/postcss-loader/src/index.js??ref--9-oneOf-3-2!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!/usr/src/app/node_modules/vuetify/src/components/VProgressLinear/VProgressLinear.sass
feapp     | <s> [webpack.Progress] 66% building 698/743 modules 45 active /usr/src/app/node_modules/core-js/internals/inherit-if-required.js
feapp     | <s> [webpack.Progress] 66% building 698/744 modules 46 active /usr/src/app/node_modules/vue-style-loader/index.js??ref--9-oneOf-3-0!/usr/src/app/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/usr/src/app/node_modules/postcss-loader/src/index.js??ref--9-oneOf-3-2!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!/usr/src/app/node_modules/vuetify/src/components/VExpansionPanel/VExpansionPanel.sass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants