]> git.maquefel.me Git - brevno-suite/hugo/commit
commands: Fix flaw in the livereload logic
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 25 Nov 2024 09:39:17 +0000 (10:39 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 25 Nov 2024 09:39:17 +0000 (10:39 +0100)
commitdea158c88514afbd24f67558039ec4d20cd5aed1
tree5b9e3c14f890d67bd16ac7e5d43ad36d31e64c1d
parent467444ef649b35676ed5b4198eb8165b347d9119
commands: Fix flaw in the livereload logic

I guess most commonly an issue with TailwindCSS editing in templates:

* Build changes both CSS and index.html => reload OK.
* Build changes both CSS and index.html and some other files => only CSS reloaded.

The above would fix itself with one more edit, but that's annoying.
commands/hugobuilder.go