Skip to content
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: add --web-socket-server-type option for CLI #4001

Merged
merged 7 commits into from Nov 5, 2021

Conversation

snitin315
Copy link
Member

  • 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?

Motivation / Use-Case

add --web-socket-server-type option for CLI. Add todo to remove --web-spcket-server.

Breaking Changes

None

Additional Info

No

@codecov
Copy link

codecov bot commented Nov 2, 2021

Codecov Report

Merging #4001 (452ff49) into master (10da223) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4001   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files          14       14           
  Lines        1405     1405           
  Branches      516      516           
=======================================
  Hits         1301     1301           
  Misses         96       96           
  Partials        8        8           
Impacted Files Coverage Δ
bin/cli-flags.js 100.00% <ø> (ø)
lib/Server.js 93.99% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10da223...452ff49. Read the comment docs.

@@ -80,6 +80,7 @@ Options:
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
--web-socket-server <value> Allows to set web socket server and options (by default 'ws').
--no-web-socket-server Negative 'web-socket-server' option.
--web-socket-server-type <value> Allows to set web socket server and options (by default 'ws').
Copy link
Member

Choose a reason for hiding this comment

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

@snitin315 Can we mark --web-socket-server <value> is deprecated and add TODO?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I will update.

@alexander-akait alexander-akait merged commit 17c390a into master Nov 5, 2021
@alexander-akait alexander-akait deleted the feat/web-socket-server-type branch November 5, 2021 11:21
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.

None yet

2 participants