Skip to content

chrplace/wintersmith-livereload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wintersmith-livereload

LiveReload plugin for Wintersmith.

Installing

wintersmith plugin install livereload

or using npm

npm install [-g] wintersmith-livereload

and then add wintersmith-livereload to your config.json

{
  "plugins": [
    "wintersmith-livereload"
  ]
}

Usage

Include env.helpers.livereload() somewhere in your template, it will inject the livereload script if running in preview mode.

Options (can be omitted, defaults shown here):

{
  "livereload": {
    "port": 35729
    "clientScript": "livereload.js"
    "liveCSS": true
  }
}

Running tests

npm install
npm test

About

LiveReload plugin for Wintersmith

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published