Provide clear output about when a build finishes
See original GitHub issueDo you want to request a feature or report a bug?
I’m proposing a feature/enhancement.
What is the current behavior?
When running webpack with --watch
for a while, your console is likely to fill with many almost identical blocks of build output with only the chunk hashes being different.
If the current behavior is a bug, please provide the steps to reproduce.
–
What is the expected behavior?
After a build has finished, in addition to the build duration, print the current time and the time when the build started to make it easier to tell, if what you’re seeing is a new build or still an old one.
If this is a feature request, what is motivation or use case for changing the behavior?
The almost identical blocks of output make it hard to tell, if a build you just triggered with a file change has already finished.
On projects with long build times (even for incremental builds), I often find myself saving a file in my editor, switching to the terminal where webpack is watching the files and hitting Enter a few times so I can clearly see when the next output block is printed to the console.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
- webpack version: 2.5.1
- all platforms and node versions
I’d be happy to work on this myself and to hear any alternative ideas.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
There is a PR for this: https://github.com/webpack/webpack/pull/5026
You can help finishing it. Tests need to be solved.
Yes, this is done.