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

Where's the command help? #1929

Closed
trusktr opened this issue Feb 15, 2022 · 3 comments
Closed

Where's the command help? #1929

trusktr opened this issue Feb 15, 2022 · 3 comments
Labels

Comments

@trusktr
Copy link

trusktr commented Feb 15, 2022

running browser-sync start --help shows barely anything, I don't see any options (like --port):

❯ npx browser-sync start --help 
browser-sync start

Start the server

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

And this doesn't show the options either:

❯ npx browser-sync --help
browser-sync [command]

Commands:
  browser-sync start   Start the server
  browser-sync init    Create a configuration file
  browser-sync reload  Send a reload event over HTTP protocol
  browser-sync recipe  Generate the files for a recipe

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

For help running a certain command, type <command> --help
  browser-sync start --help

You can run a static server by providing a path(s) directly
  browser-sync app/src app/tmp

If the directory contains a 'index.html' file, you can omit any input
  browser-sync

You can run the proxy in this manner too
  browser-sync https://example.com

To run a proxy, whilst also serving static files
  browser-sync https://example.com htdocs/themes/example
@trusktr
Copy link
Author

trusktr commented Feb 15, 2022

In particular, I wanted to look up the format of --watch and the website doesn't say.

@shakyShane shakyShane added the bug label Mar 13, 2022
@shakyShane
Copy link
Contributor

yeah this looks like a bug, I'll get to it shortly :)

@shakyShane
Copy link
Contributor

fixed in browser-sync@2.27.9 - thank you for the report :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants