quick-sync
v1.0.2
Published
Quick Sync is a tiny proxy wrapper for BrowserSync for exposing the defined url, with a fallback to DNSMasq .dev vhost entry.
Downloads
5
Readme
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/