aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-05-02 10:35:43 +0200
committerBjørn Erik Pedersen <[email protected]>2024-05-10 22:33:08 +0200
commitd02f0622b471d6a8ee805a7a8387a3984694a4ac (patch)
tree6e4f35e1d12777d864955d56ec2174308e9ba12e /magefile.go
parent6dfeb9f0388f5acae2c8f2e16d97987899a04d4e (diff)
downloadhugo-d02f0622b471d6a8ee805a7a8387a3984694a4ac.tar.gz
hugo-d02f0622b471d6a8ee805a7a8387a3984694a4ac.zip
livereload: Improve the livereload script build and update to v4.0.2
This script has very infrequent updates, but just copy pasting the minified source creates some potential trust issues. This JS will now be pulled from a Git version and both the unminified and minified version gets written to disk. This way it should be easier to reason about changes in the future. To upgrade, change the commit hash and run `mage generate`. Closes #12451 Closes #6290
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/magefile.go b/magefile.go
index d4c7b65de..677c59d2c 100644
--- a/magefile.go
+++ b/magefile.go
@@ -79,8 +79,7 @@ func flagEnv() map[string]string {
// Generate autogen packages
func Generate() error {
generatorPackages := []string{
- //"tpl/tplimpl/embedded/generate",
- //"resources/page/generate",
+ "livereload/gen",
}
for _, pkg := range generatorPackages {