simple-syncer
v0.0.5
Published
a command line browser syncer tool that helps your watch HTML, CSS, and JS files
Downloads
4
Maintainers
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
|