Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/browser-sync Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# browser-sync
> A local web server that updates browser on file changes.
> More information: <https://browsersync.io/docs/command-line>.
- Start a server from a specific directory:
`browser-sync start --server {{path/to/directory}} --files {{path/to/directory}}`
- Start a server from local directory, watching all CSS files in a directory:
`browser-sync start --server --files '{{path/to/directory/*.css}}'`
- Create configuration file:
`browser-sync init`
- Start Browsersync from configuration file:
`browser-sync start --config {{config_file}}`