-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: show warning for non-web targets #3094
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3094 +/- ##
==========================================
+ Coverage 95.69% 95.71% +0.01%
==========================================
Files 34 34
Lines 1279 1284 +5
Branches 368 370 +2
==========================================
+ Hits 1224 1229 +5
Misses 51 51
Partials 4 4
Continue to review full report at Codecov.
|
lib/Server.js
Outdated
if (this.options.liveReload) { | ||
this.logger.info(`Live reload will not work with a non-web target.`); | ||
} | ||
} |
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.
It is warning
, also better keep it inside DevServerPlugin
, in future webpack-dev-server
will be plugin, so we need put logic inside plugin
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.
updated 👍🏻
43fca8f
to
790f08f
Compare
need rebase |
353a1af
to
71a9eb9
Compare
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
fixes #2104
Breaking Changes
None
Additional Info
None