Sha256: a499cddfefd939dbe7fc78a90047024ec13b6db0ec0e433f68ee2ba714d04fee
Contents?: true
Size: 617 Bytes
Versions: 4
Compression:
Stored size: 617 Bytes
Contents
require 'jekyll' module Jekyll module Livereload LIVERELOAD_PORT = 35729 LIVERELOAD_DIR = File.expand_path("../js", File.dirname(__FILE__)) class << self attr_accessor(:pages, :reactor) def pages @pages ||= [] end end require "jekyll-livereload/build" require "jekyll-livereload/serve" require "jekyll-livereload/version" require "jekyll-livereload/websocket" end end # Add livereload support the Jekyll class << Jekyll::Commands::Serve prepend Jekyll::Livereload::Serve end class << Jekyll::Commands::Build prepend Jekyll::Livereload::Build end
Version data entries
4 entries across 4 versions & 1 rubygems