-
Notifications
You must be signed in to change notification settings - Fork 83
stats is ignored #70
Comments
@donaldpipowitch which log output is being shown? paste? |
Here is an example :) https://github.com/donaldpipowitch/webpack-serve-issue-70-demo |
Thanks for the output in the README there, very helpful. That's going to be an issue with Lines 46 to 61 in f1aad58
|
@donaldpipowitch ping |
Hi! Sorry, I'm currently sick. I think I need some more days before I can look into that again. Thanks. ✌️ |
No worries man. Hope you feel better quickly! |
No problem. Thank you :) |
If I add
|
@jdart https://github.com/webpack/webpack-dev-middleware/#stats I'm not sure you're following the relationship between Line 36 in 5d3457e
webpack-dev-middleware .
From |
For sure I'm fuzzy on the relationship. I'm using a webpack.config.js that looks like the one from @donaldpipowitch, and running |
I found creating a .serverc.json with the below content works:
Adding the below to webpack.config.js also works:
|
Typically folks will only add module.exports = {
... <webpack config> ...
}
if (process.env.NODE_ENV === 'development') {
// or process.env.WEBPACK_SERVE === true
module.exports.serve = {
... <serve config> ...
}
} You can also try creating module.exports = {
{ stats: 'minimal' }
}; It looks like we need a proper CLI test for passing the |
In case anyone sees this issue from googling it, since
|
This issue is for a:
Code
CLI Command
$ webpack-serve ... # remove this block if using the API
webpack.config.js
Expected Behavior
Respect the setting. Don't show logs.
Actual Behavior
Default logs are shown.
How Do We Reproduce?
Added
stats: 'none'
to https://github.com/donaldpipowitch/pipo-scripts/blob/master/packages/pipo-scripts/build.js#L61, but it usesyarn
🙈The text was updated successfully, but these errors were encountered: