remove clean step in builder
Alan Pearce alan@alanpearce.eu
Tue, 25 Jun 2024 20:11:32 +0200
1 files changed, 0 insertions(+), 7 deletions(-)
jump to
M internal/builder/builder.go → internal/builder/builder.go
@@ -265,13 +265,6 @@ } config.InjectLiveReload = ioConfig.Development compressFiles = !ioConfig.Development - if ioConfig.Development && ioConfig.Destination != "website" { - err = os.RemoveAll(ioConfig.Destination) - if err != nil { - return nil, errors.WithMessage(err, "could not remove destination directory") - } - } - loadCSS() return build(ioConfig.Destination, *config)