https://github.com/azurewarth0920/simple-browsersyncer
a inline command tool that help you watch and sync the files in current folder
https://github.com/azurewarth0920/simple-browsersyncer
browsersync cli cli-app
Last synced: 6 months ago
JSON representation
a inline command tool that help you watch and sync the files in current folder
- Host: GitHub
- URL: https://github.com/azurewarth0920/simple-browsersyncer
- Owner: Azurewarth0920
- License: mit
- Created: 2019-03-26T06:16:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T04:23:38.000Z (over 3 years ago)
- Last Synced: 2025-10-02T02:26:38.748Z (10 months ago)
- Topics: browsersync, cli, cli-app
- Language: JavaScript
- Size: 314 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-syncer
Inline command tool for browserSync.
## Installation
```
npm i -g simple-syncer
```
## Usage
```
$ simpleSyncer
```
Just run `simpleSyncer` and your `*.html *.css *.js *.{gif,jpg,png,svg}` files in current folder will be reload(inject for css) when you change these files
## options
| option | description | example |
| ------------- |:-------------|:-----|
| -p | set the port you want to use (default: 3000) | `$ simpleSyncer -p 3333 ` |
| -d | set the directory you want to watch (default: `./`) | `$ simpleSyncer -d /Users/xxxx/Project/my-project ` |