fix(dev): overwrite previous asset hash on change
Alan Pearce alan@alanpearce.eu
Sun, 05 Jan 2025 20:37:32 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M frontend/assets.go → frontend/assets.go
@@ -86,10 +86,12 @@ return nil } func Rehash() (err error) { + Assets.Scripts = []*Asset{} err = hashScripts() if err != nil { return err } + Assets.Stylesheets = []*Asset{} err = hashStyles() if err != nil { return err