sherpy
v1.0.5
Published
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.
Downloads
8
Maintainers
Readme
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