-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
feat: added the watch
command
#2357
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2357 +/- ##
==========================================
+ Coverage 69.47% 70.21% +0.73%
==========================================
Files 47 47
Lines 2110 2122 +12
Branches 541 547 +6
==========================================
+ Hits 1466 1490 +24
+ Misses 644 632 -12
Continue to review full report at Codecov.
|
@@ -1373,6 +1396,7 @@ class WebpackCLI { | |||
} | |||
|
|||
if (options.json) { | |||
const { stringifyStream: createJsonStringifyStream } = require('@discoveryjs/json-ext'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reduce time to initial run
Co-authored-by: James George <[email protected]>
What kind of change does this PR introduce?
feature
Did you add tests for your changes?
Yes
If relevant, did you update the documentation?
Yes
Summary
Many popular tools have the
watch
command, let's do the same and we will have good built-in command:Does this PR introduce a breaking change?
No
Other information
After this I will focus on
webpack index.js
, after refactor we can return this again, but with some limitations, I will describe them in the PR