quick-sync

1.0.2 • Public • Published

Quick Sync

Quick Sync is a tiny proxy wrapper for BrowserSync for exposing the defined url, with a fallback to DNSMasq .dev vhost entry.

Installation

$ npm install -g quick-sync

Usage

Exposing defined url:

$ quicksync www.bbc.co.uk

Exposing vhost with dnsmasq

cd ~/Sites/project-name
$ quicksync

Our vhost setup

<VirtualHost *:80>
    ServerName dev
    ServerAlias *.dev
 
    CustomLog "/Users/USERNAME/Sites/logs/dev-access_log" combinedmassvhost
    ErrorLog "/Users/USERNAME/Sites/logs/dev-error_log"
 
    VirtualDocumentRoot /Users/USERNAME/Sites/%2/httpdocs
</VirtualHost>

Special Thanks

BrowserSync - https://www.browsersync.io/

Readme

Keywords

none

Package Sidebar

Install

npm i quick-sync

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • owenmelbz