0.0.5 • Published 7 years ago
simple-syncer v0.0.5
simple-syncer
Inline command tool for browserSync.
Installation
npm i -g simple-syncerUsage
$ simpleSyncerJust 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 |