@io-arc/task-browser-sync
Run BrowserSync
Last updated 4 days ago by arcone .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @io-arc/task-browser-sync 
SYNC missed versions from official npm registry.

@io-arc/task-browser-sync

Run BrowserSync

Usage

$ ia-browser-sync

Command options

ia-browser-sync -p <ip address> or ia-browser-sync --proxy <ip address>

Using proxy.
Specify an IP address for the argument.

ia-browser-sync --history <file path>

File paths used by the HTML5 HistoryAPI.
e.g. /index.html

Configure file

If you want to make detailed settings, please prepare and specify a configuration file.
The configuration file is be placed in the config directory.

Valid file name

  • browser-sync.yml
  • browser-sync.yaml
  • bs.yml
  • bs.yaml

If there are more than one valid files, they are prioritized in the order listed above.
Options see: BrowserSync option

Default

Some parameters are be specified automatically if not specified.

server

Default: DIST/

* If proxy parameter exists then auto delete server

serveStatic

Only if SITE_ROOT isn't a /.

Default: { route: [SITE_ROOT], dir: DIST}

Current Tags

  • 0.0.2                                ...           latest (4 days ago)

2 Versions

  • 0.0.2                                ...           4 days ago
  • 0.0.1                                ...           4 days ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 15
Last Month 0
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |