UNPKG

docpad-plugin-livereload

Version:

Automatically refreshes your website whenever a rengeration is performed

105 lines (60 loc) 4 kB
# History ## v2.11.0 2020 August 6 - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) - Minimum required node version changed from `node: >=4.5.0` to `node: >=10` to keep up with mandatory ecosystem changes ## v2.10.0 2018 July 11 - Updated base files using [boundation](https://github.com/bevry/boundation) - Compiled with CoffeeScript v2 - Updated dependencies ## v2.9.0 2017 April 3 - Updated dependencies ## v2.8.0 2017 April 2 - Updated base files ## v2.7.1 2015 October 16 - `pathname` configuration now actually does what it was suppose to - If a custom 404 middleware was added, should no longer interfere with primus as we now use the correct `serverExtend` event rather than `serverAfter` ## v2.7.0 2015 October 16 - `socketOptions` configuration now actually does what it was suppose to - Updated dependencies ## v2.6.1 2015 March 10 - Updated dependencies ## v2.6.0 2014 February 9 - Updated dependencies ## v2.5.6 2014 January 10 - Updated dependencies ## v2.5.5 2014 January 4 - Updated dependencies ## v2.5.4 2013 December 12 - Updated dependencies ## v2.5.3 2013 August 29 - Updated dependencies ## v2.5.2 2013 August 13 - We now destroy the sockets when docpad gets destroyed ## v2.5.1 2013 July 31 - Added missing extendr dependency - Thanks to [antoinebrault](https://github.com/antoinebrault) for [pull request #14](https://github.com/docpad/docpad-plugin-livereload/pull/14) ## v2.5.0 2013 July 31 - Rewrote to use [primus](https://github.com/3rd-Eden/primus) and [ws](https://github.com/einaros/ws) - Closes [issue #6](https://github.com/docpad/docpad-plugin-livereload/issues/6) and [issue #5](https://github.com/docpad/docpad-plugin-livereload/issues/5) with help from [Sergey Lukin](https://github.com/sergeylukin), [Alvaro Muir](https://github.com/alvaromuir), [mdanetzky](https://github.com/mdanetzky), [Taylor Young](https://github.com/digitaldesigndj), [Pat O'Callaghan](https://github.com/patocallaghan) - Added fade out effect so you know regeneration has started ## v2.4.0 2013 May 6 - Merged [pull request #7](https://github.com/docpad/docpad-plugin-livereload/pull/7) by [Vaughan Rouesnel](https://github.com/vjpr) to solve [issue #3](https://github.com/docpad/docpad-plugin-livereload/issues/3) ## v2.3.1 2013 March 7 - Repackaged ## v2.3.0 2013 January 19 - Removed shrinkwrap file, hopefully dependency issues have been resolved - Added `getSocket` configuration option so you can now use existing sockets if you wish - Made the socket.io log level customisable via the `defaultLogLevel` config option and now defaults to 1 unless in debug mode which defaults to 3 - Closes [pull request #4](https://github.com/docpad/docpad-plugin-livereload/pull/4) thanks to [Alex](https://github.com/amesarosh) - Added the ability to customise the socket options via `socketOptions` config option - Added the ability to customise the channel we listen on via the `channel` config option, also changed the default channel from `/docpad-live-reload` to `/docpad-livereload` - We will now log to the browser if we were reloaded by livereload, this can be turned off via the `browserLog` config option - Added the ability to customise what happens at regeneration via the `regenerateBlock` config option ## v2.2.0 2012 December 29 - Added a [npm shrinkwrap file](https://npmjs.org/doc/shrinkwrap.html) due to recent dependency issues some people suffered - Now only injects the socket.io script if it isn't already defined - Added a basic generate test ## v2.1.2 2012 October 2 - Added support for DocPad v6.7 ## v2.1.1 2012 August 10 - Re-added markdown files to npm distribution as they are required for the npm website ## v2.1.0 2012 July 18 - Renamed from `live-reload` to `livereload` to follow new DocPad convention - Updated for DocPad v6.3.0