livejs

package
Version: v0.0.0-...-c35ca9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package livejs injects code to reload the current page when it (or its dependencies) are modified. This plugin is helpful for authoring web content locally, but should be disabled for site deployment. This can be achieved by conditionally including it using the "condition" filter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LiveJs

type LiveJs struct {
	// contains filtered or unexported fields
}

LiveJs chainable context.

func New

func New() *LiveJs

New creates a new instance of the LiveJs plugin.

func (*LiveJs) Initialize

func (self *LiveJs) Initialize(context *goldsmith.Context) error

func (*LiveJs) Name

func (*LiveJs) Name() string

func (*LiveJs) Process

func (self *LiveJs) Process(context *goldsmith.Context, inputFile *goldsmith.File) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL