BUGFIX: prevent reloading loop with unwatching css, js files

This commit is contained in:
Simon Martens
2024-12-04 17:55:39 +01:00
parent c6b46ea3d9
commit 3af43b33dd
3 changed files with 6 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html", "gohtml", "css", "js"]
include_ext = ["go", "tpl", "tmpl", "html", "gohtml"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"

View File

@@ -624,7 +624,3 @@ a[aria-current="page"] {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}

View File

@@ -31,9 +31,11 @@
<!-- Default app menu... -->
{{ end }}
{{ block "body" . }}
<!-- Default app body... -->
{{ end }}
<main>
{{ block "body" . }}
<!-- Default app body... -->
{{ end }}
</main>
</body>
</html>