Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
a specific and quiet browser-sync

Many CLI apps are noisy, including browser-sync, and that's fine because it lets people know what's going on.

This script runs browser-sync in stealth and only on the localhost IP.


browser-sync start -w --ss dist --port 9924 --host --logLevel error --no-notify --no-open --no-ui --no-online --no-ghost-mode
"scripts": {
"dev-browsersync": "browser-sync -w start --ss dist --port 9924 --host --logLevel error --no-notify --no-open --no-ui --no-online --no-ghost-mode || true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.