dev: don't rebuild if root files changed
Alan Pearce alan@alanpearce.eu
Fri, 24 Jan 2025 23:55:49 +0100
1 files changed, 0 insertions(+), 4 deletions(-)
jump to
M internal/server/server.go → internal/server/server.go
@@ -164,10 +164,6 @@ dir, ) } } - err = fw.Add(".") - if err != nil { - return nil, errors.WithMessage(err, "could not add directory to file watcher") - } go fw.Start(func(filename string) { log.Info("rebuilding site", "changed_file", filename) err := rebuild(builderConfig, config, log)