Skip to content

amesarosh/docpad-plugin-livereload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Reload Plugin for DocPad

Automatically refreshes your DocPad built website whenever a regeneration is performed

Install

  1. Install the Plugin
npm install --save --force docpad-plugin-livereload
  1. Ensure your layout outputs the scripts block, using eco it will look something like this:
<%- @getBlock('scripts').toHTML() %>

Configure

Enabled

By default this plugin is disabled for all environments except the development environment. To enable on more environments set the enabled option to true inside your environments configuration.

Inject

By default we will inject the socket.io dependency if we don't automatically detect it's presence. However, sometimes this auto detection doesn't always work. If this is the case, you can disable the injection and just do the listening by setting the inject option to false.

History

You can discover the history inside the History.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2012 Bevry Pty Ltd

About

Automatically refreshes your website whenever a rengeration is performed

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 94.7%
  • JavaScript 5.3%