You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A list of improvements that could improve the developer experience:
CLI:
if no commands/args given, look for bs-config.js in local dir, so that browser-sync will work as expected for users that have previously created a config using browser-sync init2bf65b8
if no commands/args given and the current directory has no bs-config file, start in server mode with some sane defaults.
allow multiple configs to be given on CLI and merge into 1. This will allow a 'base' configuration and then can be overriden by passing multiple paths, eg:
browser-sync conf1.js conf2.js
where conf1.js contains a full config, but then conf2.js can override anything in the first
if no commands given, but instead something that looks like a URL, automatically jump into proxy mode, eg:
browser-sync https://example.com
Would just do what you'd expect and start a proxy for that address
Any more from the community, would be glad to hear suggestions :)
The text was updated successfully, but these errors were encountered:
What would "sane defaults" be for 2? Start server in current folder and watch 2 levels of files excluding some commonly excluded folders? (Node_modules, etc)
A list of improvements that could improve the developer experience:
CLI:
if no commands/args given, look for
bs-config.js
in local dir, so thatbrowser-sync
will work as expected for users that have previously created a config usingbrowser-sync init
2bf65b8if no commands/args given and the current directory has no bs-config file, start in
server
mode with some sane defaults.allow multiple configs to be given on CLI and merge into 1. This will allow a 'base' configuration and then can be overriden by passing multiple paths, eg:
where
conf1.js
contains a full config, but thenconf2.js
can override anything in the firstif no commands given, but instead something that looks like a URL, automatically jump into
proxy
mode, eg:Would just do what you'd expect and start a proxy for that address
Any more from the community, would be glad to hear suggestions :)
The text was updated successfully, but these errors were encountered: