1.0.5 • Published 7 years ago

sherpy v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

sherpy

A command-line tool to easily develop using Browsersync (local dev server, live reloading, remote tunneling) and an offline-first Service Worker for static assets.

The Service Worker is versioned based on a hash of the static content of the working directory.

Requirements

Must have a file called sw.js in the root of your project containing a line like this one:

var CURRENT_CACHES = {
  static: 'static-cache-v-98f2739d'  // {STATIC_HASH}
};

See sample usage with a project containing static assets.

CLI Usage

Usage
  $ sherpy

Options
  -t, --tunnel  Tunnel
  -h, --help    Show help

Examples
  $ sherpy

License

MIT