question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch to suppress verbose build output?

See original GitHub issue

Our project added storybook’s start-storybook command to our Profile so we can start it and a couple other servers with nf (Foreman).

This works great but builds cause an extreme amount of output in this manner:

screen shot 2017-09-20 at 1 18 51 pm

Would it be possible for the CLI to take a switch (maybe --quiet) that would suppress verbose/progress update messages?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
mmmeffcommented, Oct 10, 2017

@Hypnosphi That did the trick, thanks boss. For posterity, here’s the configuration (simplified) to remove the progress plugin and quiet the log spam:

const genDefaultConfig = require('@storybook/react/dist/server/config/defaults/webpack.config.js')

module.exports = (baseConfig, env) => {
  const config = genDefaultConfig(baseConfig, env)
  config.plugins = config.plugins.filter(({ constructor }) => constructor.name !== "ProgressPlugin")

  return config
}

2reactions
ndelangencommented, Oct 9, 2017

@mmmeff What you need to do is filter out the ProgressPlugin if you want to remove it that way.

https://github.com/storybooks/storybook/blob/release/3.3/app/react/src/server/config/webpack.config.js#L57

Read more comments on GitHub >

github_iconTop Results From Across the Web

Switch to suppress verbose build output? · Issue #1872
Our project added storybook's start-storybook command to our Profile so we can start it and a couple other servers with nf (Foreman).
Read more >
sublimetext2 - Disable verbose output on build
When I use ST build system, "built-in output pane" prints various things like expected build output, but also cmd executed, active dir and...
Read more >
CLI options
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for ... --quiet, Suppress verbose...
Read more >
Tricks For Silencing Make (automake)
This helps to decrease the verbosity of the output, but experience has shown that it can also often render debugging considerably harder in...
Read more >
Getting WGET to display a less verbose output
You can use -nv or --no-verbose to make wget less verbose, but it won't show download progress in that case.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found