From d289e54af28de6b21cbe49cebc262c4e3ca9f6d2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 5 Jan 2025 20:37:32 +0100 Subject: fix(dev): overwrite previous asset hash on change --- frontend/assets.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/assets.go b/frontend/assets.go index 7a90d80..b1c2efa 100644 --- a/frontend/assets.go +++ b/frontend/assets.go @@ -86,10 +86,12 @@ func hashStyles() error { } func Rehash() (err error) { + Assets.Scripts = []*Asset{} err = hashScripts() if err != nil { return err } + Assets.Stylesheets = []*Asset{} err = hashStyles() if err != nil { return err -- cgit 1.4.1