about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-05-04 15:32:55 +0200
committerAlan Pearce2024-05-04 15:32:55 +0200
commite96fa5ff6835a3bb8b28f14ff0e0771d80631d2c (patch)
tree2f783aa235e0c3849b33a5e4de9c22a4ce8b3666 /internal
parentb682ed936d8185e91331e9f66fc0e13072f8b545 (diff)
downloadsearchix-e96fa5ff6835a3bb8b28f14ff0e0771d80631d2c.tar.lz
searchix-e96fa5ff6835a3bb8b28f14ff0e0771d80631d2c.tar.zst
searchix-e96fa5ff6835a3bb8b28f14ff0e0771d80631d2c.zip
chore: watch all frontend files
Diffstat (limited to 'internal')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 09928b4..aa37674 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -199,7 +199,7 @@ func New(runtimeConfig *Config) (*Server, error) {
 		if err != nil {
 			return nil, errors.WithMessage(err, "could not create file watcher")
 		}
-		err = fw.AddRecursive(path.Join("frontend", "templates"))
+		err = fw.AddRecursive(path.Join("frontend"))
 		if err != nil {
 			return nil, errors.WithMessage(err, "could not add directory to file watcher")
 		}