about summary refs log tree commit diff stats
path: root/internal/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 0b67a69..b5526a0 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -164,10 +164,6 @@ func New(runtimeConfig *Config, log *log.Logger) (*Server, error) {
 				)
 			}
 		}
-		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)