-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
How to enable [HMR] console logging in 5.2 #8308
Comments
@ndelangen any ideas? |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
I haven't figured out the solution, but I believe I've tracked down what is causing the behavior. From what I can tell the devServer configuration is being passed to Webpack correctly, and the configuration goes to storybook/lib/core/src/server/dev-server.js Line 119 in 87e705d
https://github.com/webpack-contrib/webpack-hot-middleware I hope this helps! |
That's it! I'm not seeing an easy way to get to it through configuration, but in the line... storybook/lib/core/src/server/preview/preview-preset.js Lines 14 to 16 in a2a6b9d
...changing |
No problem. Glad you figured out! |
Yo @eldewen will you be opening up a PR for bring the warnings back? |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
poke stale bot, I'd still like to see this ticket addressed |
@BPScott see #9535 |
Yes, I think that resolves this issue. |
I'm hesitant to upgrade from 5.1 to 5.2, as it appears Webpack's [HMR] console logging has been disabled. Can this be re-enabled through configuration?
I've tried creating
./.storybook/webpack.config.js
with:...and an assortment of variations, but no change.
The text was updated successfully, but these errors were encountered: