diff options
-rw-r--r-- | internal/server/server.go | 4 |
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) |