Skip to content

fix: show warning for non-web targets#3094

Open
snitin315 wants to merge 1 commit into
mainfrom
fix/non-web-target
Open

fix: show warning for non-web targets#3094
snitin315 wants to merge 1 commit into
mainfrom
fix/non-web-target

Conversation

@snitin315
Copy link
Copy Markdown
Member

@snitin315 snitin315 commented Mar 19, 2021

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

Yes

Motivation / Use-Case

fixes #2104

Breaking Changes

None

Additional Info

None

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 19, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.71%. Comparing base (257e2eb) to head (71a9eb9).
⚠️ Report is 1311 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread lib/Server.js Outdated
if (this.options.liveReload) {
this.logger.info(`Live reload will not work with a non-web target.`);
}
}
Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated 👍🏻

@snitin315 snitin315 force-pushed the fix/non-web-target branch from 43fca8f to 790f08f Compare March 19, 2021 12:17
rishabh3112
rishabh3112 previously approved these changes Mar 28, 2021
@anshumanv
Copy link
Copy Markdown
Member

need rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants